Re: Postgres UPGRADE from 9.2 to 9.4

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres UPGRADE from 9.2 to 9.4
Date: 2016-09-08 13:09:08
Message-ID: CAOR=d=3w_dvCOSvHhRGuVP4ZSjadEzcxfjxUYVxcuwChnSdXbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 6, 2016 at 5:25 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> On 9/6/2016 4:20 PM, Melvin Davidson wrote:
>>
>> If you use slony to replicate, you CAN have 9.2 on the master and 9.4 on
>> the slave.
>
>
> does rackspace support slony? how about amazon dms ?
>
> slony requires configuring replication on each table. if the database has a
> large complex schema this could take considerable setup effort.
>

Not really. As of slony 2.2 you can use a regular expression to add
tables or sequences.

i.e.:

SET ADD TABLE (
SET ID=1,
TABLES='public\\.*'
);

repeat for sequences. Two commands. I don't consider that considerable effort.
--
To understand recursion, one must first understand recursion.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reid Thompson 2016-09-08 13:15:37 Re: IDE for function/stored proc development.
Previous Message Scott Marlowe 2016-09-08 13:04:25 Re: 2.5TB Migration from SATA to SSD disks - PostgreSQL 9.2