Обсуждение: pgsql: Only recycle normal files in pg_xlog as WAL segments.

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

pgsql: Only recycle normal files in pg_xlog as WAL segments.

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
Log Message:
-----------
Only recycle normal files in pg_xlog as WAL segments. pg_standby creates
symbolic links with the -l option, and as Fujii Masao pointed out we ended up
overwriting files in the archive directory before this patch. Patch by
Aidan Van Dyk, Fujii Masao and me.

Backpatch to 8.3, where pg_standby was introduced.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.292.2.6 -> r1.292.2.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.292.2.6&r2=1.292.2.7)