Re: Replication Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Murthy Nunna <mnunna(at)fnal(dot)gov>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Replication Question
Date: 2020-07-16 22:01:10
Message-ID: 3464718.1594936870@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Murthy Nunna <mnunna(at)fnal(dot)gov> writes:
> I have a question about replication... Can I replicate to a server running different version of Linux OS (e.g Primary on RHEL 7 and stand-by on RHEL 6.1).

It's a little risky because of the possibility that the different OS
versions have different behavior for the "same" LC_COLLATE setting,
leading to different sort orders for text columns, which would make
indexes on text columns incorrect in the standby's worldview.

If you are only using "C" collation, or if you check that the collation(s)
you use behave the same on both platforms, it should be OK.

Also note that the hardware architecture had better be the same, eg
no 32-bit-to-64-bit cases. But Postgres can detect that type of problem
for itself, generally speaking. I emphasize collation hazards because
we lack any reliable detection for collation mismatch.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ramesh Maddi 2020-07-17 04:30:31 PostgreSQL upgrade from 9.6 to 10.13
Previous Message Murthy Nunna 2020-07-16 21:10:00 Replication Question