CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@postgresql.org 02/11/11 17:19:25
Modified files:
doc/src/sgml/ref: create_table.sgml
src/backend/access/transam: xact.c
src/backend/bootstrap: bootparse.y
src/backend/catalog: heap.c namespace.c
src/backend/commands: cluster.c sequence.c tablecmds.c
typecmds.c view.c
src/backend/executor: execMain.c
src/backend/nodes: copyfuncs.c equalfuncs.c outfuncs.c
src/backend/parser: gram.y keywords.c
src/include/catalog: heap.h
src/include/commands: tablecmds.h
src/include/nodes: parsenodes.h
src/test/regress/expected: temp.out
src/test/regress/sql: temp.sql
Log message:
Code review for ON COMMIT patch. Make the actual on-commit action happen
before commit, not after :-( --- the original coding is not only unsafe
if an error occurs while it's processing, but it generates an invalid
sequence of WAL entries. Resurrect 7.2 logic for deleting items when
no longer needed. Use an enum instead of random macros. Editorialize
on names used for routines and constants. Teach backend/nodes routines
about new field in CreateTable struct. Add a regression test.