postgresql/src/bin
Tom Lane 9a6313f469 Fix pg_ctl's readfile() to not go into infinite loop on an empty file
(could happen if either postgresql.conf or postmaster.opts is empty).
It's been broken since the C version was written for 8.0, so patch
all the way back.

initdb's copy of the function is broken in the same way, but it's
less important there since the input files should never be empty.
Patch that in HEAD only, and also fix some cosmetic differences that
crept into that copy of the function.

Per report from Corry Haines and Jeff Davis.
2009-09-02 02:40:59 +00:00
..
initdb Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_config Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_controldata Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_ctl Fix pg_ctl's readfile() to not go into infinite loop on an empty file 2009-09-02 02:40:59 +00:00
pg_dump Properly restore pg_largeobject.relfozenxid in binary upgrade mode. 2009-07-20 20:53:47 +00:00
pg_resetxlog Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pgevent 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
psql Fix inclusions of readline/editline header files so that we only attempt to 2009-08-24 16:18:19 +00:00
scripts Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
Makefile Update copyright for 2009. 2009-01-01 17:24:05 +00:00