pgsql: Make RecordTransactionCommit() respect wal_level. - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Make RecordTransactionCommit() respect wal_level.
Date
Msg-id 20100813154517.5945C7541D7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xact.c (r1.293.2.3 -> r1.293.2.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.293.2.3&r2=1.293.2.4)

pgsql-committers by date:

Previous
From: rhaas@postgresql.org (Robert Haas)
Date:
Subject: pgsql: Make RecordTransactionCommit() respect wal_level.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix Assert failure in PushOverrideSearchPath when trying to