BUG #6074: postgresql service script
От | Tomas Enrique Cardozo Baudry |
---|---|
Тема | BUG #6074: postgresql service script |
Дата | |
Msg-id | 201106221247.p5MClS5R015725@wwwmaster.postgresql.org обсуждение исходный текст |
Ответы |
Re: BUG #6074: postgresql service script
|
Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 6074 Logged by: Tomas Enrique Cardozo Baudry Email address: tomas.enrique.cardozo.baudry@gmail.com PostgreSQL version: 8.4.4 Operating system: Centos 5.6 Description: postgresql service script Details: configuring the posgresql.conf on another port the service doesnt load the port variable, because in the postgresql service script is a variable PGPORT and this rewrite the configuration variable solution (replace the port number with a script variable reader): PGDATA=/var/lib/pgsql/data #PGPORT=5432 #### <--- this is the bug PGPORT=`/bin/cat $PGDATA/postgresql.conf | /bin/grep â^port' | /bin/sed 's/port = //g'` tomas.enrique.cardozo.baudry@gmail.com, deshn.co.cc@gmail.com http://deshn.wikidot.com/howtos:bases-de-datos:postgresql:pgsql-service-scri pt
В списке pgsql-bugs по дате отправления: