]> granicus.if.org Git - postgresql/commit
Write a WAL record whenever we perform an operation without WAL-logging
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Jan 2010 19:43:40 +0000 (19:43 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Jan 2010 19:43:40 +0000 (19:43 +0000)
commit09b115f70684ea20dc344faab1a96f2831d3ee75
tree97ee9e81891d786e815ebc0e7e69a293f212fd5d
parent47ce95a7b98ff06b51f12a7381fc3788dff9961c
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.
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/transam/xlog.c
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/include/access/xlog.h
src/include/catalog/pg_control.h