[ADMIN] how to upgrade PG - Mailing list pgsql-general

From Huang, Suya
Subject [ADMIN] how to upgrade PG
Date
Msg-id D83E55F5F4D99B4A9B4C4E259E6227CD4586B4EB@AUX1EXC02.apac.experian.local
Whole thread Raw
Responses Re: [ADMIN] how to upgrade PG
List pgsql-general

Hello,

 

Our PG runs on Ubuntu boxes and it’s 9.3.4, thinking of upgrading to 9.3.12 or 9.5.2.

 

Is the normal approach of upgrade something like below, no matter if it’s major version or minor version upgrade? My focus is on pg_dump at the moment.

#1 pg_dump

Dump DB

Apt-get update

Apt-get install new version

Createdb

Import DB

 

#2 pg_upgrade (a little complicated, worth trying on test environment)

 

#3 using trigger based replication tool (not interested at this moment)

 

 

Thanks,

Suya

pgsql-general by date:

Previous
From: "David Bennett"
Date:
Subject: Re: How do BEGIN/COMMIT/ABORT operate in a nested SPI query?
Next
From: "David G. Johnston"
Date:
Subject: Re: Enhancement Request