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

From Heikki Linnakangas
Subject pgsql: Fix the same-rel optimization when creating WAL records.
Date
Msg-id E1YpKit-00078w-Q4@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Backport "Expose fsync_fname as a public API".
Next
From: Robert Haas
Date:
Subject: pgsql: Recursively fsync() the data directory after a crash.