[patch] use macro in setup script

Поиск
Список
Период
Сортировка
От Wang, Shenhao
Тема [patch] use macro in setup script
Дата
Msg-id 63580B24E208E3429D94153A03C68E0901A68A6C28@G08CNEXMBPEKD02.g08.fujitsu.local
обсуждение исходный текст
Ответы Re: [patch] use macro in setup script  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-pkg-yum

Hi, everyone,

 

 

I found that in script postgresql-11-setup,  there are some codes

 

# Log file for pg_upgrade

PGUPLOG=/var/lib/pgsql/$PGMAJORVERSION/pgupgrade.log

# Log file for initdb

PGLOG=/var/lib/pgsql/11/initdb.log

 

Maybe using macro $PGMAJORVERSION is better instead of using 11 directly.

And I found that in postgresql-11-setup, this problem has been modified by this commit.

 

So, patch is attached

 

 

Regards;

Shenhao, Wang

 

-----------------------

Shenhao, Wang

DX3

Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)

EMail:wangsh.fnst@cn.fujitsu.com

 

Вложения

В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1
Следующее
От: Justin Pryzby
Дата:
Сообщение: postGERS (sic)