Make RecordTransactionCommit() respect wal_level.

Robert Haas <rhaas@postgresql.org>

Commit: 95ef7cd40da69feff0ab1f2e4964949e6fb15383
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-08-13T15:42:21Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/backend/access/transam/xact.c modified +6 −5