RE: yum update minor version | /sbin/service postgresql-11 condstop question

From: Jason Ralph <jralph(at)affinitysolutions(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>, "pgsql-pkg-yum(at)lists(dot)postgresql(dot)org" <pgsql-pkg-yum(at)lists(dot)postgresql(dot)org>
Subject: RE: yum update minor version | /sbin/service postgresql-11 condstop question
Date: 2019-11-19 02:48:44
Message-ID: BL0PR04MB6499E0B282676A0CBFBDDC7ED04C0@BL0PR04MB6499.namprd04.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On Thu, 2019-11-14 at 16:06 +0000, Jason Ralph wrote:
> My ultimate goal here is to find out what happens when you yum update
> a minor version of postgresql11-server, I would like to know if
> postgresql11-server will stop, or do I need to manually do this?

Devrim Gündüz <devrim(at)gunduz(dot)org wrote:
>PostgreSQL will be restarted automagically, right after old version is removed.

Thanks Devrim, can you help me understand the condstop, is this no longer needed? I cant seem to find that function in the init script.
if [ $1 -eq 0 ] ; then
/sbin/service postgresql-11 condstop >/dev/null 2>&1
chkconfig --del postgresql-11

fi

Jason Ralph

-----Original Message-----
From: Devrim Gündüz <devrim(at)gunduz(dot)org>
Sent: Saturday, November 16, 2019 7:13 PM
To: Jason Ralph <jralph(at)affinitysolutions(dot)com>; pgsql-pkg-yum(at)lists(dot)postgresql(dot)org
Subject: Re: yum update minor version | /sbin/service postgresql-11 condstop question

Hi,

On Thu, 2019-11-14 at 16:06 +0000, Jason Ralph wrote:
> My ultimate goal here is to find out what happens when you yum update
> a minor version of postgresql11-server, I would like to know if
> postgresql11-server will stop, or do I need to manually do this?

PostgreSQL will be restarted automagically, right after old version is removed.

Regads,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message sven.bernhard 2019-11-19 08:03:41 which is the repo path for PG12 RHEL7?
Previous Message keisuke kuroda 2019-11-19 01:42:38 Re: pg12 rc1 on CentOS8 depend python2