PostgreSQL-小版本升级

本文详细描述了如何将PostgreSQL数据库从14.6版本升级到14.11版本,包括下载升级包、编译安装新版本、生成软链接替换旧目录以及重启服务的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.版本信息:

升级前 升级后
postgre14.6 postgre14.11

2.升级步骤

2.1下载升级包

[root@localhost postgresql]# wget https://ftp.postgresql.org/pub/source/v14.11/postgresql-14.11.tar.bz2

2.2安装新版本postgresql

[root@localhost postgresql]# tar -xvf postgresql-14.11.tar.bz2

[root@localhost postgresql]# cd postgresql-14.11

#创建安装目录
[root@localhost postgresql-14.11]# mkdir -p  /usr/local/pgsql14.11

#编译安装
[root@localhost postgresql-14.11]# ./configure --prefix=/usr/local/pgsql14.11 --with-perl --with-python --with-libxml --with-libxslt --with-openssl

[root@localhost postgresql-14.11]# make && make install

#查看是否安装到指定目录:/usr/local/pgsql14.11
[root@localhost pgsql14.11]# pwd
/usr/local/pgsql14.11
[root@loc
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值