Re: Streaming replication between different OS

From: Atul Kumar <akumar14871(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ganesh Korde <ganeshakorde(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Streaming replication between different OS
Date: 2021-02-22 17:32:12
Message-ID: CA+ONtZ6rA1PbjcYvMjt08GX_ktRAV3NhkJyOFWTx0SrKwBcSPA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Tom,

As I am new to postgres, could you help me to in how to check collation and
what is de_DE locale ?

Regards

On Monday, February 22, 2021, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Ganesh Korde <ganeshakorde(at)gmail(dot)com> writes:
> > On Mon, 22 Feb 2021, 11:48 am Atul Kumar, <akumar14871(at)gmail(dot)com> wrote:
> >> I have postgres 9.6 cluster running on Centos 6.8, so I just wanted to
> >> know that can I configure streaming replication with same postgres
> version
> >> i.e 9.6 running on centos 7.
>
> > Should not be a problem if both OS archtecture (32 bit/ 64 bit) are same.
>
> The other thing you have to worry about is whether the collations you
> use sort the same on both systems ... if they don't, you'll have
> effectively-corrupt indexes on text columns on the standby.
>
> According to
>
> https://wiki.postgresql.org/wiki/Locale_data_changes
>
> you should be okay for rhel/centos 6 to 7 migration unless you
> use de_DE locale. But I don't know how thorughly that's been
> checked.
>
> Using logical not physical replication might be safer.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lorenzzo Egydio Mollinar da Cruz 2021-02-22 17:43:30 Migrate database to different versions
Previous Message Peter J. Holzer 2021-02-22 16:22:10 Re: Streaming replication between different OS