Re: postgresql "init script" for postgres 9.2.15

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Steve Langlois <steve(dot)langlois(at)tavve(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql "init script" for postgres 9.2.15
Date: 2016-07-14 12:49:40
Message-ID: 1468500580.14072.3.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

On Wed, 2016-07-13 at 20:56 +0000, Steve Langlois wrote:
> I've been searching for a 9.2.15 version of the postgresql script for "init
> script for starting up the PostgreSQL". I have managed to find older versions
> than what we are currently using, 8.2.5 but haven't had any luck finding a
> new version in the postgres 9.2.15 rpms. We are moving from CentOS 5 to
> CentOS 7 and need to update postgres from 8.2.5 to 9.2.15.

Here is the 9.6 version: 

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.6/postgresql/EL-6/postgresql.init;h=daf436ec39f9038a7e3d73c50f80fc3492be15a1;hb=HEAD

You just need to change stuff starting line 92:

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.6/postgresql/EL-6/postgresql.init;h=daf436ec39f9038a7e3d73c50f80fc3492be15a1;hb=HEAD#l92

-HTH.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Johann Spies 2016-07-14 12:55:26 Strange array_to_table / unnest result
Previous Message David G. Johnston 2016-07-14 12:23:09 Re: Merging timeseries in postgres