Обсуждение: Wrong PGPREVMAJORVERSION?

Поиск
Список
Период
Сортировка

Wrong PGPREVMAJORVERSION?

От
Tomonari Katsumata
Дата:
Hello,

I'm using RPM packeage get from below site.
http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/repoview/postgresql94-server.html

I noticed that init script("/etc/rc.d/init.d/postgresql-9.4") has
wrong PGPREVMAJORVERSION.

-------------------------
In 9.4.0 script:
PGPREVMAJORVERSION=9.4
-------------------------

I think this should be "PGPREVMAJORVERSION=9.3".


-------------------------
FYI:In 9.3.5 script:
PGPREVMAJORVERSION=9.2
-------------------------

I'm not sure this cause bad thing, but should it be better to fix this?

regards,
-------------
Tomonari Katsumata

Re: Wrong PGPREVMAJORVERSION?

От
Devrim Gündüz
Дата:
Hi,

On Sun, 2015-01-18 at 15:38 +0900, Tomonari Katsumata wrote:

> I'm using RPM packeage get from below site.
> http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/repoview/postgresql94-server.html
>
> I noticed that init script("/etc/rc.d/init.d/postgresql-9.4") has
> wrong PGPREVMAJORVERSION.
>
> -------------------------
> In 9.4.0 script:
> PGPREVMAJORVERSION=9.4
> -------------------------
>
> I think this should be "PGPREVMAJORVERSION=9.3".
>
>
> -------------------------
> FYI:In 9.3.5 script:
> PGPREVMAJORVERSION=9.2
> -------------------------
>
> I'm not sure this cause bad thing, but should it be better to fix this?

Thanks for the report. Fixed in git. This change will appear in next
release set (which is due in a few weeks)

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


Вложения