Re: Will Postgres12 installed on a RHEL 6 server continue to function after the server get O/S upgrade to RHEL 7?

From: Peter Lee <peterlee3672(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Will Postgres12 installed on a RHEL 6 server continue to function after the server get O/S upgrade to RHEL 7?
Date: 2021-05-08 23:35:33
Message-ID: 817834164.1151365.1620516933143@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,
Yes, I totally agree with you that the OS upgrade should take place first before we install Postgres.
It is just that Postgres was already installed on a RHEL6 server before my time.  
What preparations do you recommend us to do minimize the possible hazard after the OS upgrade?
Thank you very much in advance,
-Peter

在 2021年5月8日 星期六 下午12:52:29 [PDT], Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> 寫道:

Peter Lee <peterlee3672(at)yahoo(dot)com> writes:
> Question:  will Postgres databases (such as Postgres12 originally installed on a RHEL 6 server) continue to function properly after the server get O/S upgrade to RHEL 7??

Possibly, but why don't you do the OS upgrade first?  RHEL6 has been
EOL for some time, so installing new functionality on a server that's
still running that doesn't seem like prudent sysadmin-ship.

The main hazard you'd be looking at if you do it in the other order
is that RHEL7 might have different locale sorting behavior, resulting
in effectively-corrupt indexes on text columns.  For more info about
that see

https://wiki.postgresql.org/wiki/Locale_data_changes

That page claims that only the de_DE.UTF-8 locale changed in RHEL7,
but I don't know that I'd risk money on that being true.

            regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2021-05-08 23:45:33 Re: plan with result cache is very slow when work_mem is not enough
Previous Message Jonathan S. Katz 2021-05-08 21:53:20 2021-05-13 release announcement draft