OSDN Git Service

Move the responsibility of writing a "unlogged WAL operation" record from
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 3 Feb 2010 10:01:30 +0000 (10:01 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 3 Feb 2010 10:01:30 +0000 (10:01 +0000)
commit9de778b24b7d4040a385486348904db1bf69f677
tree575b906bda0ed9b86a52480cefdff773eadb3a42
parent808969d0e7ac2d2fdbd915c6a6ac9ec68b6f63f9
Move the responsibility of writing a "unlogged WAL operation" record from
heap_sync() to the callers, because heap_sync() is sometimes called even
if the operation itself is WAL-logged. This eliminates the bogus unlogged
records from CLUSTER that Simon Riggs reported, patch by Fujii Masao.
src/backend/access/heap/heapam.c
src/backend/access/heap/rewriteheap.c
src/backend/commands/copy.c
src/backend/commands/tablecmds.c
src/backend/executor/execMain.c