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