Обсуждение: pgsql: Write a WAL record whenever we perform an operation without
pgsql: Write a WAL record whenever we perform an operation without
От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
Log Message: ----------- Write a WAL record whenever we perform an operation without WAL-logging that would've been WAL-logged if archiving was enabled. If we encounter such records in archive recovery anyway, we know that some data is missing from the log. A WARNING is emitted in that case. Original patch by Fujii Masao, with changes by me. Modified Files: -------------- pgsql/src/backend/access/heap: heapam.c (r1.282 -> r1.283) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c?r1=1.282&r2=1.283) pgsql/src/backend/access/nbtree: nbtsort.c (r1.122 -> r1.123) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c?r1=1.122&r2=1.123) pgsql/src/backend/access/transam: xlog.c (r1.358 -> r1.359) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.358&r2=1.359) pgsql/src/backend/commands: cluster.c (r1.193 -> r1.194) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/cluster.c?r1=1.193&r2=1.194) tablecmds.c (r1.316 -> r1.317) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.316&r2=1.317) pgsql/src/include/access: xlog.h (r1.97 -> r1.98) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/xlog.h?r1=1.97&r2=1.98) pgsql/src/include/catalog: pg_control.h (r1.48 -> r1.49) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_control.h?r1=1.48&r2=1.49)
On Wed, Jan 20, 2010 at 2:43 PM, Heikki Linnakangas <heikki@postgresql.org> wrote: > Log Message: > ----------- > Write a WAL record whenever we perform an operation without WAL-logging > that would've been WAL-logged if archiving was enabled. If we encounter > such records in archive recovery anyway, we know that some data is > missing from the log. A WARNING is emitted in that case. > > Original patch by Fujii Masao, with changes by me. Does this need to be updated, then? https://commitfest.postgresql.org/action/patch_view?id=237 ...Robert
Robert Haas <robertmhaas@gmail.com> wrote: > Does this need to be updated, then? > https://commitfest.postgresql.org/action/patch_view?id=237 I updated it. Regards, --- Takahiro Itagaki NTT Open Source Software Center