pgsql: Make RecordTransactionCommit() respect wal_level.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make RecordTransactionCommit() respect wal_level.
Date: 2010-08-13 15:45:17
Message-ID: 20100813154517.5945C7541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-08-13 16:27:11 pgsql: Fix Assert failure in PushOverrideSearchPath when trying to
Previous Message Robert Haas 2010-08-13 15:42:21 pgsql: Make RecordTransactionCommit() respect wal_level.