当前位置:网站首页>WARNING: sql version 9.2, server version 11.0. Some psql features might not work.
WARNING: sql version 9.2, server version 11.0. Some psql features might not work.
2022-08-04 06:06:00 【Big Yellow Cat No. 1】
This means that the server already has the database version 11.0 installed, but the path to psql is from an older version, 9.2 in this example.If you do not handle this warning, some psql features will not work when operating on the database,
For example, changing the password will not work
Solution:
First, we look at the path of psql and the result is
which psql
If the displayed path is /bin/psql, it means that the login database uses this path by default, so you need to remove the files on this path and link the new version to this path, so that the search path will automatically go to the new version.(requires root user to operate)
# mv /bin/psql /bin/psql-bk
# ln -s /usr/local/psql/bin/psql /bin/psql
Another solution is Log in directly with an absolute pathpsql /usr/local/psql/bin/psql Note hereThe path is the path of your own installation.
边栏推荐
猜你喜欢

【CV-Learning】卷积神经网络

二月、三月校招面试复盘总结(一)

判断字符串是否有子字符串重复出现

thymeleaf中 th:href使用笔记

NFT市场可二开开源系统

(九)哈希表
![[Deep Learning 21 Days Learning Challenge] 1. My handwriting was successfully recognized by the model - CNN implements mnist handwritten digit recognition model study notes](/img/62/ab3dbbd7d4d0009c7cba5e45879f25.png)
[Deep Learning 21 Days Learning Challenge] 1. My handwriting was successfully recognized by the model - CNN implements mnist handwritten digit recognition model study notes

(六)递归

【CV-Learning】图像分类

攻防世界MISC—MISCall
随机推荐
SQL练习 2022/7/2
Androd Day02
VScode配置PHP环境
(九)哈希表
纳米级完全删除MYSQL5.7以及一些吐槽
(十一)树--堆排序
postgresql 游标(cursor)的使用
Briefly say Q-Q map; stats.probplot (QQ map)
flink-sql所有表格式format
sql中group by的用法
双重指针的使用
ISCC2021——web部分
视图、存储过程、触发器
flink-sql查询配置与性能优化参数详解
Kubernetes基本入门-名称空间资源(三)
线性回归简介01---API使用案例
Upload靶场搭建&&第一二关
Jupyter Notebook installed library;ModuleNotFoundError: No module named 'plotly' solution.
剑指 Offer 20226/30
CTFshow—Web入门—信息(1-8)