pgsql: Make sure pg_control is opened in binary mode, to deal with - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Make sure pg_control is opened in binary mode, to deal with
Date
Msg-id 20080924085942.984E07545A4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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

Modified Files:
--------------
    pgsql/src/bin/pg_controldata:
        pg_controldata.c (r1.40 -> r1.41)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.40&r2=1.41)
    pgsql/src/bin/pg_resetxlog:
        pg_resetxlog.c (r1.66 -> r1.67)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.66&r2=1.67)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Only show source file and line numbers to superusers, for
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make sure pg_control is opened in binary mode, to deal with