pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
yum update for postgresql rpms
4+ messages / 3 participants
[nested] [flat]

* yum update for postgresql rpms
@ 2021-02-18 16:23 Haas, Scott <sah209@psu.edu>
  2021-02-23 14:22 ` Re: yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
  2021-02-23 15:05 ` Re: yum update for postgresql rpms Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 2 replies; 4+ messages in thread

From: Haas, Scott @ 2021-02-18 16:23 UTC (permalink / raw)
  To: pgsql-general

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: yum update for postgresql rpms
  2021-02-18 16:23 yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
@ 2021-02-23 14:22 ` Haas, Scott <sah209@psu.edu>
  2021-02-23 14:32   ` Re: yum update for postgresql rpms Ron <ronljohnsonjr@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Haas, Scott @ 2021-02-23 14:22 UTC (permalink / raw)
  To: pgsql-general

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: yum update for postgresql rpms
  2021-02-18 16:23 yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
  2021-02-23 14:22 ` Re: yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
@ 2021-02-23 14:32   ` Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Ron @ 2021-02-23 14:32 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: yum update for postgresql rpms
  2021-02-18 16:23 yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
@ 2021-02-23 15:05 ` Devrim Gündüz <devrim@gunduz.org>
  1 sibling, 0 replies; 4+ messages in thread

From: Devrim Gündüz @ 2021-02-23 15:05 UTC (permalink / raw)
  To: Haas, Scott <sah209@psu.edu>; pgsql-general


Hi,

On Thu, 2021-02-18 at 16:23 +0000, Haas, Scott wrote:
> 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.

That is the behaviour since 15 years :)

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2021-02-23 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 16:23 yum update for postgresql rpms Haas, Scott <sah209@psu.edu>
2021-02-23 14:22 ` Haas, Scott <sah209@psu.edu>
2021-02-23 14:32   ` Ron <ronljohnsonjr@gmail.com>
2021-02-23 15:05 ` Devrim Gündüz <devrim@gunduz.org>

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