From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: yum update for postgresql rpms
Date: Tue, 23 Feb 2021 08:32:38 -0600
Message-ID: <71e63d29-6f5c-7cdf-7ea3-31e61ac736ff@gmail.com> (raw)
In-Reply-To: <MN2PR02MB663966D824DF0DEC5B91DFB897809@MN2PR02MB6639.namprd02.prod.outlook.com>
References: <MN2PR02MB66397366DF1D3375E3E2A31F97859@MN2PR02MB6639.namprd02.prod.outlook.com>
<MN2PR02MB663966D824DF0DEC5B91DFB897809@MN2PR02MB6639.namprd02.prod.outlook.com>
It's standard procedure for package managers to stop daemons before update
and then start them back up afterward.
On 2/23/21 8:22 AM, Haas, Scott wrote:
> Tickling this thread to see if I can get a confirmation of the described
> behavior for rpm update via yum.
>
>
> I do not want to cross-post (but if this is not the correct forum, please
> let me know).
>
>
> Thanks,
> Scott
> ----------------------------------------------------------------------------
> *From:* Haas, Scott
> *Sent:* Thursday, February 18, 2021 11:23 AM
> *To:* pgsql-general@postgresql.org <pgsql-general@postgresql.org>
> *Subject:* yum update for postgresql rpms
> RHEL 7.9
> PostgreSQL 12 (12.5.1 to 12.6.1)
>
> I am updating RPMs for postgres and was interested to know whether this is
> indeed expected behavior for the rpm update:
>
> When the "yum update" is executed, postgresql rpms are updated. It looks
> at that point, postgresql (postmaster) processes automatically restart.
> In the procedure I was building, I figured I'd need to stop/start postgres
> (systemctl stop postgresql-12, systemctl start postgresql-12), but that
> doesn't look to be necessary.
>
> I don't recall this automatic postmaster restart occurring a few weeks ago
> when I went from 12.4.1 to 12.5.1 - perhaps it did, but I just
> stopped/re-started postgres unnecessarily.
>
>
> Thanks,
> Scott
>
> --
> Scott Haas
> Enterprise Applications
> sah209@psu.edu 814-863-3526 https://keybase.io/sah209
>
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: yum update for postgresql rpms
In-Reply-To: <71e63d29-6f5c-7cdf-7ea3-31e61ac736ff@gmail.com>
References: <MN2PR02MB66397366DF1D3375E3E2A31F97859@MN2PR02MB6639.namprd02.prod.outlook.com> <MN2PR02MB663966D824DF0DEC5B91DFB897809@MN2PR02MB6639.namprd02.prod.outlook.com> <71e63d29-6f5c-7cdf-7ea3-31e61ac736ff@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox