postgresql/src
Michael Paquier 7d672b76bf Issue properly WAL record for CID of first catalog tuple in multi-insert
Multi-insert for heap is not yet used actively for catalogs, but the
code to support this case is in place for logical decoding.  The
existing code forgot to issue a XLOG_HEAP2_NEW_CID record for the first
tuple inserted, leading to failures when attempting to use multiple
inserts for catalogs at decoding time.  This commit fixes the problem by
WAL-logging the needed CID.

This is not an active bug, so no back-patch is done.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/E0D4CC67-A1CF-4DF4-991D-B3AC2EB5FAE9@yesql.se
2020-02-25 07:55:22 +09:00
..
backend Issue properly WAL record for CID of first catalog tuple in multi-insert 2020-02-25 07:55:22 +09:00
bin Add prefix checks in exclude lists for pg_rewind, pg_checksums and base backups 2020-02-24 18:13:25 +09:00
common Change client-side fsync_fname() to report errors fatally 2020-02-24 16:51:26 +01:00
fe_utils Fix bug in pg_basebackup -F plain -R. 2020-02-12 09:08:22 +09:00
include Account explicitly for long-lived FDs that are allocated outside fd.c. 2020-02-24 17:28:33 -05:00
interfaces Fix compiler warnings on 64-bit Windows 2020-02-21 19:58:39 +01:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
port Assume that we have rint(). 2020-02-21 14:30:47 -05:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Simplify FK-to-partitioned regression test query 2020-02-20 14:14:20 -03:00
timezone Require stdint.h 2020-02-21 09:20:32 +01:00
tools Adjust Solution.pm to set HAVE_STDINT_H. 2020-02-21 16:14:09 -05:00
tutorial Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Simplify passing of configure arguments to pg_config 2020-02-10 19:23:41 +01:00
Makefile.shlib Clean up MinGW def file generation 2019-10-20 10:19:13 +02:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00