Обсуждение: 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

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/bin/pg_controldata:
        pg_controldata.c (r1.31 -> r1.31.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.31&r2=1.31.2.1)
    pgsql/src/bin/pg_resetxlog:
        pg_resetxlog.c (r1.53 -> r1.53.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.53&r2=1.53.2.1)