Postgres小版本升级
来源:互联网 发布:卓行信贷网络借贷 编辑:程序博客网 时间:2024/05/23 11:49
小版本升级的手册解释:
Minor releases never change the internal storage format and are always compatible with earlier and later minor releases of the same major version number, e.g., 8.4.2 is compatible with 8.4, 8.4.1 and 8.4.6. To update between compatible versions, you simply replace the executables while the server is down and restart the server. The data directory remains unchanged — minor upgrades are that simple.
总结: 保持 pgdata不变,替换掉PGHOME里的所有可执行文件。
其实就是覆盖安装。
注意: 安装的时候注意权限问题。
主要步骤如下:
原先是9.5.3,现在升级到9.5.7tar -jxvf postgresql-9.5.7.tar.bz2 cd postgresql-9.5.7 ./configure --prefix=$PGHOME make world -j 8 make install-world
安装时候注意权限问题。
By 狮子歌歌
阅读全文
0 0
- Postgres小版本升级
- postgres大版本升级
- oracle10g小版本升级
- 6.Oracle小版本升级
- wamp版本升级小问题记录
- postgres 性能优化小技巧
- postgres 升级8.4 -9.5 数据迁移
- 小程序:学生信息管理系统--C语言版本(升级版)
- 版本升级
- 版本升级
- 版本升级
- 版本升级
- 版本升级
- postgres
- postgres
- postgres
- postgres
- Postgres
- spring——(5)Resource
- Win10 修改git bash的默认开始路径
- phpstorm 调试总是断点在index.php的第一行
- memo
- PHP ajax实现数组返回
- Postgres小版本升级
- rxjava 常用用法实例
- gitlab之:gitlab 403 forbidden 并发引起ip被封
- Eclipse搭建SSH框架(下)包含增删查改-JAVA
- INIT_WORK的宏定义的解释
- Bootstrap3笔记2
- gulp匹配模式不起作用
- ansible tower 3.2.2 安装
- Rhyme/Hibernate JTA与thread上下文的区别