Re: [PG_UPGRADE] 9.6 to 10.5

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: DEGLAVE Remi <remi(dot)deglave(at)lyreco(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [PG_UPGRADE] 9.6 to 10.5
Date: 2018-08-10 17:35:55
Message-ID: 20180810173555.GB22736@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Aug 10, 2018 at 01:25:25PM -0400, Bruce Momjian wrote:
> I was going to do:
>
> /* handle "shut down" and "shut down in recovery" (on standbys)
> strncmp(p, "shut down", strlen("shut down"))
>
> but maybe yours is clearer.

Any method is fine for me. I prefer mine as that's somewhat more
consistent with what happens in pg_rewind & co. As that is your code,
feel free of course to use what you think is most suited ;)
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2018-08-10 20:15:47 Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0
Previous Message Bruce Momjian 2018-08-10 17:25:25 Re: [PG_UPGRADE] 9.6 to 10.5