Hot standby, freezing

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Hot standby, freezing
Date: 2009-11-11 10:35:50
Message-ID: 4AFA9386.5040901@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While reading through the patch for what must be the 100th time by now,
it occurred to me that this comment in heap_xlog_freeze:

+ /*
+ * Freezing tuples does not require conflict processing
+ */

is plain wrong. In the master, we can freeze the xmin of a tuple that's
not yet visible to all read-only transactions in the standby. We do need
conflict processing there.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2009-11-11 11:15:26 Re: [HACKERS] PostgreSQL 8.3.8 on AIX5.3 : compilation failed
Previous Message Heikki Linnakangas 2009-11-11 08:03:33 Re: Hot Standby status