当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
postgresql 事务隔离级别与锁
AIDL communication between two APPs
ThinkPHP5.0.x 反序列化分析
NFT市场可二开开源系统
Delphi-C side interesting menu operation interface design
Briefly say Q-Q map; stats.probplot (QQ map)
(六)递归
8.30难题留坑:计数器问题和素数等差数列问题
Simple and clear, the three paradigms of database design
flink-sql大量使用案例
完美解决keyby造成的数据倾斜导致吞吐量降低的问题
【CV-Learning】卷积神经网络预备知识
k3s-轻量级Kubernetes
BUUCTF——MISC(一)
(十一)树--堆排序
组原模拟题
sklearn中的学习曲线learning_curve函数
MySql的concat和group_concat的区别
ISCC-2022
flink-sql所有语法详解









