Fix the same-rel optimization when creating WAL records.
authorHeikki Linnakangas <[email protected]>
Mon, 4 May 2015 17:58:42 +0000 (20:58 +0300)
committerHeikki Linnakangas <[email protected]>
Mon, 4 May 2015 18:03:36 +0000 (21:03 +0300)
commitec3d976bce7e322c29f1007d19b63b7a3a1a6ee4
treefa396024ea54349815697b383fca945b8b3f5612
parent3c000fd9a68dae9ebd9d1507ab3995cc178de1e5
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
src/backend/access/transam/xloginsert.c