Last line is not read from postgres.conf

Started by Andrusover 20 years ago2 messagesgeneral
Jump to latest
#1Andrus
eetasoft@online.ee

To reproduce:

1. Add the following line as last line to postgres.conf file

archive_command='copy "%p" "xxxxx"'

Make sure that there is no CR LF characters after this line

2. Restart postgres

3. Issue SHOW archive_command

Observed result:

unset

Note. Adding a newline after this line causes archive_command to be set
correctly.

Using

"PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2
(mingw-special)"

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrus (#1)
Re: Last line is not read from postgres.conf

"Andrus Moor" <eetasoft@online.ee> writes:

Note. Adding a newline after this line causes archive_command to be set
correctly.

Good catch ... fixed for 8.1.2.

regards, tom lane