Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEYk4-0002Te-Rg for pgsql-general@arkaria.postgresql.org; Tue, 23 Feb 2021 14:32:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lEYk3-0000QY-NB for pgsql-general@arkaria.postgresql.org; Tue, 23 Feb 2021 14:32:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEYk3-0000QQ-BV for pgsql-general@lists.postgresql.org; Tue, 23 Feb 2021 14:32:47 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lEYjw-0004p6-Ow for pgsql-general@lists.postgresql.org; Tue, 23 Feb 2021 14:32:46 +0000 Received: by mail-oi1-x231.google.com with SMTP id x20so5751666oie.11 for ; Tue, 23 Feb 2021 06:32:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=b3icVyv9OQel5CpmB5LhZK6QC+fPVGp4IwgHAK4Re1w=; b=oVI1WOb4NE7pKTwabWR+080xZDrqSYhiL4wSThztWpq3f+RUUx/L6rTv1LXxoQy9iR 4ZHdKNQIhyvv1z4HKWVmj0IbyMPbh3u+Q1G2bil98SoIXl8CfgprGNaEUH437BeGzs4K d+KAaXFi391ktoXTm5GzEme2rararSLfGSbjMUNHmDDsnXog55VbEuOG0AgCrP7SlN7P yQOqtR0JXTUkZ1sXpXbiGa4AcqDIj1gn2cdgSDEKsvXZF0S8Qi9/Nt3h1MwZNWQ8rutL nerlFfckV6wqlb/RanCnyGnok6ofQFrF4cE2EoWiW0R0i6ID/7h1PUITIIrgfQ5XeuUB /oxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=b3icVyv9OQel5CpmB5LhZK6QC+fPVGp4IwgHAK4Re1w=; b=qGBmeZCSjU/Xirm39D3tGrHRK6AJdlrYodLY9W3N3ToRFZ1gQVSqmgYZq+PMnVFkvm 0vkHfdfZXTniwDNf4BujuODv05lxAWCpvZ0p8GCXz4JOa7lI04fSPaoPdiCzXaD0KCr1 oTaCav/vQhoH5GDqLxqAd1VEb0sje+HhqcPwTs3B7GfN1DE6GsIPB+gLRnZOrChUYwwg dcDjL2lRQjqdcbBJge6fjMrqyf1EVAHrm5BIB19I4lth5iGTRXDh0iZZ5nyYZhLhPvGN vMzK5yPfHEFH4VvtzGTQ5kSISEIBpVCNOiz9GDK8urVoYQkdkhVvpjOAqjiTgAOeKYjx UVcw== X-Gm-Message-State: AOAM532KL/yRbq0sxb5v5etyL6aTD7nxXixcm92++5JA4Wh27huxHmkb rv/EvyNrs2L9q0imBDdtfjvZwt+lPtcqTg== X-Google-Smtp-Source: ABdhPJyxEhoEfcKLmtitZGEvXGtjq4gQ+bPNNLIabGjJUJ8qEGSr4G38X4BmdwPmn6HoX1o5AbjSDw== X-Received: by 2002:a05:6808:a0b:: with SMTP id n11mr473882oij.161.1614090759508; Tue, 23 Feb 2021 06:32:39 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id c2sm4170187ooo.17.2021.02.23.06.32.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 06:32:39 -0800 (PST) Subject: Re: yum update for postgresql rpms To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <71e63d29-6f5c-7cdf-7ea3-31e61ac736ff@gmail.com> Date: Tue, 23 Feb 2021 08:32:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------132868EF87CB0D4C6C52724D" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------132868EF87CB0D4C6C52724D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 > *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. --------------132868EF87CB0D4C6C52724D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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

--
Angular momentum makes the world go 'round.
--------------132868EF87CB0D4C6C52724D--