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:42:21
Message-ID: 20100813154221.A6C9C7541D7@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.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xact.c (r1.296 -> r1.297)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.296&r2=1.297)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-08-13 15:45:17 pgsql: Make RecordTransactionCommit() respect wal_level.
Previous Message Tom Lane 2010-08-13 14:38:13 pgsql: Fix pg_restore to complain if any arguments remain after parsing