OSDN Git Service

Make RecordTransactionCommit() respect wal_level.
authorRobert Haas <rhaas@postgresql.org>
Fri, 13 Aug 2010 15:42:21 +0000 (15:42 +0000)
committerRobert Haas <rhaas@postgresql.org>
Fri, 13 Aug 2010 15:42:21 +0000 (15:42 +0000)
commit95ef7cd40da69feff0ab1f2e4964949e6fb15383
tree1cc05253d361a65f3703dffd2e01feb18237ee61
parente4155c8483084e2a8d5779002e3b07854c85baf8
Make RecordTransactionCommit() respect wal_level.

Since the only purpose of WAL-loggin SharedInvalidationMessages is to support
Hot Standby operation, they needn't be included when wal_level < hot_standby.

Back-patch to 9.0.

Review by Heikki Linnakanagas and Fujii Masao.
src/backend/access/transam/xact.c