postgresql/src/backend
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
..
access Issue properly WAL record for CID of first catalog tuple in multi-insert 2020-02-25 07:55:22 +09:00
bootstrap Update copyrights for 2020 2020-01-01 12:21:45 -05:00
catalog Clarify coding in Catalog::AddDefaultValues. 2020-02-15 15:13:44 -05:00
commands Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
executor Fixup for nodeAgg.c refactor. 2020-02-21 09:34:20 -08:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
lib Put all the prototypes for hashfn.c into the same header file. 2020-02-24 17:22:45 +05:30
libpq Assume that we have utime() and <utime.h>. 2020-02-21 14:30:47 -05:00
main Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nodes Move bitmap_hash and bitmap_match to bitmapset.c. 2020-02-24 17:17:43 +05:30
optimizer Refactor hash_agg_entry_size(). 2020-02-06 11:49:56 -08:00
parser Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
partitioning Avoid redundant checks in partition_bounds_copy(). 2020-02-21 20:00:45 +09:00
po Translation updates 2019-06-17 15:30:20 +02:00
port Update copyrights for 2020 2020-01-01 12:21:45 -05:00
postmaster Account explicitly for long-lived FDs that are allocated outside fd.c. 2020-02-24 17:28:33 -05:00
regex Update copyrights for 2020 2020-01-01 12:21:45 -05:00
replication Add prefix checks in exclude lists for pg_rewind, pg_checksums and base backups 2020-02-24 18:13:25 +09:00
rewrite Make rewriter prevent auto-updates on views with conditional INSTEAD rules. 2020-01-14 09:52:21 +00:00
snowball Update copyrights for 2020 2020-01-01 12:21:45 -05:00
statistics Report progress of ANALYZE commands 2020-01-15 11:14:39 -03:00
storage Account explicitly for long-lived FDs that are allocated outside fd.c. 2020-02-24 17:28:33 -05:00
tcop Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
tsearch Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
utils Account explicitly for long-lived FDs that are allocated outside fd.c. 2020-02-24 17:28:33 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00