pgsql: Fix the same-rel optimization when creating WAL records.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the same-rel optimization when creating WAL records.
Date: 2015-05-04 18:04:07
Message-ID: E1YpKit-00078w-Q4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix the same-rel optimization when creating WAL records.

prev_regbuf was never set, and therefore the same-rel flag was never set on
WAL records.

Report and fix by Zhanq Zq

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ec3d976bce7e322c29f1007d19b63b7a3a1a6ee4

Modified Files
--------------
src/backend/access/transam/xloginsert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-05-04 18:23:00 pgsql: Recursively fsync() the data directory after a crash.
Previous Message Robert Haas 2015-05-04 17:00:22 pgsql: Backport "Expose fsync_fname as a public API".