OSDN Git Service

Arrange to emit a description of the current XLOG record as error context
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Mar 2006 04:32:13 +0000 (04:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Mar 2006 04:32:13 +0000 (04:32 +0000)
commit0a202070603bf38ce2e2fc11a7f897fc06603b80
treea856ccc9da2bf3ec6ec57da03788e27e89c22428
parent4fb92718be654b38652dfe893d075f3862e84eae
Arrange to emit a description of the current XLOG record as error context
when an error occurs during xlog replay.  Also, replace the former risky
'write into a fixed-size buffer with no overflow detection' API for XLOG
record description routines; use an expansible StringInfo instead.  (The
latter accounts for most of the patch bulk.)

Qingqing Zhou
25 files changed:
src/backend/access/gist/gistxlog.c
src/backend/access/hash/hash.c
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/transam/clog.c
src/backend/access/transam/multixact.c
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/commands/dbcommands.c
src/backend/commands/sequence.c
src/backend/commands/tablespace.c
src/backend/storage/smgr/smgr.c
src/include/access/clog.h
src/include/access/gist_private.h
src/include/access/hash.h
src/include/access/heapam.h
src/include/access/multixact.h
src/include/access/nbtree.h
src/include/access/xact.h
src/include/access/xlog.h
src/include/access/xlog_internal.h
src/include/commands/dbcommands.h
src/include/commands/sequence.h
src/include/commands/tablespace.h
src/include/storage/smgr.h