当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
(十四)平衡二叉树
完美解决keyby造成的数据倾斜导致吞吐量降低的问题
TensorFlow:tf.ConfigProto()与Session
自动化运维工具Ansible(1)基础
postgres 递归查询
智能合约安全——溢出漏洞
VScode配置PHP环境
(十五)B-Tree树(B-树)与B+树
Kubernetes基础入门(完整版)
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
SQL的性能分析、优化
二月、三月校招面试复盘总结(二)
简单说Q-Q图;stats.probplot(QQ图)
TensorFlow2 study notes: 4. The first neural network model, iris classification
数据库根据提纲复习
剑指 Offer 2022/7/5
Matplotlib中的fill_between;np.argsort()函数
pgsql函数中的return类型
双重指针的使用
Usage of RecyclerView









