postgresql/contrib/pg_xlogdump
Andres Freund d1c575230d Fix off-by-one in pg_xlogdump's fuzzy_open_file().
In the unlikely case of stdin (fd 0) being closed, the off-by-one
would lead to pg_xlogdump failing to open files.

Spotted by Coverity.

Backpatch to 9.3 where pg_xlogdump was introduced.
2015-01-04 15:35:46 +01:00
..
.gitignore pg_xlogdump/.gitignore: add committsdesc.c 2014-12-09 09:54:14 -03:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
compat.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pg_xlogdump.c Fix off-by-one in pg_xlogdump's fuzzy_open_file(). 2015-01-04 15:35:46 +01:00
rmgrdesc.c Keep track of transaction commit timestamps 2014-12-03 11:53:02 -03:00
rmgrdesc.h Revamp the WAL record format. 2014-11-20 18:46:41 +02:00