Make RecordTransactionCommit() respect wal_level.

Robert Haas <rhaas@postgresql.org>

Commit: 361cadb224ffdd99ade5b9c4c21c042c3cd24059
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-08-13T15:45:17Z
Releases: 9.0.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