Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT

Поиск
Список
Период
Сортировка
Искать
От
Devrim Gündüz
Тема
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT
Дата
Msg-id
1425769121.18873.1.camel@gunduz.org
Ответ на
Список
Дерево обсуждения
BUG #12830: postgres-9.4 upgrade is missing PGPORT pgriboval@yahoo.fr
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Devrim Gündüz <devrim@gunduz.org>
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Bruce Momjian <bruce@momjian.us>
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Devrim Gündüz <devrim@gunduz.org>
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Stephen Frost <sfrost@snowman.net>
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Bruce Momjian <bruce@momjian.us>
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Stephen Frost <sfrost@snowman.net>
Hi,

The upgrade script has been broken over the last two years. Maybe it is
the time to take a look at it. I will let you know.

Regards, Devrim

On Thu, 2015-03-05 at 08:41 +0000, pgriboval@yahoo.fr wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      12830
> Logged by:          postgres-9.4 upgrade is missing PGPORT
> Email address:      pgriboval@yahoo.fr
> PostgreSQL version: 9.4.1
> Operating system:   Centos 6.5
> Description:        
> 
> In /etc/init.d/postgresql-9.4 there is no more PGPORT defined.
> 
> You can read this comment in the script:
> 
> # Version 9.4.0 Devrim Gunduz
> # Remove PGPORT variable.
> 
> But bellow this command requires the PGPORT var to be set otherwise the
> upgrade script does not work
> 
> NEWPGPORT=`sed -n 's/^PGPORT=//p' /etc/init.d/postgresql-$PGMAJORVERSION`
> 
> workaround is to set back PGPORT=5433, run the upgrade script and remove the
> PGPORT variabla in the script
> 
> 
> 


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

В списке pgsql-bugs по дате отправления
От: Stephen Frost
Дата:
От: Devrim Gündüz
Дата:
FAQ