Thread: Replication Question
Folks:
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). Assume same postgres version on primary and stand-by, say version 9.5 or above.
I am interested in both streaming and WAL based replication.
Thanks for your attention.
Regards,
Murthy
Murthy Nunna <mnunna@fnal.gov> writes: > I have a question about replication... Can I replicate to a server running different version of Linux OS (e.g Primary onRHEL 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