Обсуждение: pgsql: Make sure pg_control is opened in binary mode, to deal with

Поиск
Список
Период
Сортировка

pgsql: Make sure pg_control is opened in binary mode, to deal with

От
mha@postgresql.org (Magnus Hagander)
Дата:
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)