当前位置:网站首页>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.
边栏推荐
- Zend FrameWork RCE1
- 多项式回归(PolynomialFeatures)
- Jupyter Notebook installed library;ModuleNotFoundError: No module named 'plotly' solution.
- 剑指 Offer 2022/7/11
- thymeleaf中 th:href使用笔记
- Kubernetes集群安装
- oracle的number与postgresql的numeric对比
- TensorFlow2学习笔记:5、常用激活函数
- SQL练习 2022/7/1
- Simple and clear, the three paradigms of database design
猜你喜欢
随机推荐
flink-sql自定义函数
MySql的concat和group_concat的区别
TensorFlow2学习笔记:5、常用激活函数
SQl练习 2022/6/29
数据库根据提纲复习
sklearn中的学习曲线learning_curve函数
简单说Q-Q图;stats.probplot(QQ图)
NFT市场可二开开源系统
智能合约安全——delegatecall (1)
剑指 Offer 2022/7/8
两个APP进行AIDL通信
ISCC2021———MISC部分复现(练武)
完美解决keyby造成的数据倾斜导致吞吐量降低的问题
TensorFlow2 study notes: 6. Overfitting and underfitting, and their mitigation solutions
CTFshow—Web入门—信息(9-20)
TensorFlow2 study notes: 5. Common activation functions
CAS与自旋锁、ABA问题
TensorFlow2 study notes: 4. The first neural network model, iris classification
TensorFlow2学习笔记:6、过拟合和欠拟合,及其缓解方案
SQL练习 2022/7/3









