git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a45c70a) | patch
Promote the assertion that XLogBeginInsert() is not called twice into ERROR.
2015年6月28日 19:25:55 +0000 (22:25 +0300)
2015年6月28日 19:30:39 +0000 (22:30 +0300)
commit a32c3ec893cafbd3a4b42c34270a80198f28f123
Promote the assertion that XLogBeginInsert() is not called twice into ERROR.

Seems like cheap insurance for WAL bugs. A spurious call to
XLogBeginInsert() in itself would be fairly harmless, but if there is any
data registered and the insertion is not completed/cancelled properly, there
is a risk that the data ends up in a wrong WAL record.

Per Jeff Janes's suggestion.
src/backend/access/transam/xloginsert.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /