OSDN Git Service

Make sure pg_control is opened in binary mode, to deal
authorMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:42 +0000 (08:59 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:42 +0000 (08:59 +0000)
commit607b7166d8c99ed42f26110f7ac2eee11d7b1fbf
tree7ac6a4bee3e2a180e16e22f1a1c7cde54364dab1
parentcdf5357ec9ac3f3ef6d300ddf1651e572033c506
Make sure pg_control is opened in binary mode, to deal
with situtations when the file contains an EOF maker
(0x1A) on Windows.

ITAGAKI Takahiro
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c