Jul 2020

5 commits
Assert that we don't insert nulls into attnotnull catalog columns.
21 Jul 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3+3 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #4

The src/backend/catalog/indexing.c changes exactly match #4. The commit additionally removes the obsolete constraint-enforcement warning from doc/src/sgml/bki.sgml.

Avoid direct C access to possibly-null pg_subscription_rel.srsublsn.
21 Jul 2020Tom LaneREL_12_STABLE12.4REL_11_STABLE11.9REL_10_STABLE10.14
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #6

Retains the documentation, null-safe reads, and CATALOG_VARLEN protection from #6, but omits both proposed BKI_FORCE_NULL annotations. Tom explains the deliberate exclusion for existing databases in #7.

Kluge slot_compile_deform() to ignore incorrect attnotnull markings.
20 Jul 2020Tom LaneREL_12_STABLE12.4REL_11_STABLE11.9
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #3

Extends the ATTNOTNULL workaround from #3 to cover pg_subscription_rel.srsublsn as well as subslotname, and applies it to the two alignment checks too. The subscription regression test is retained with branch-specific naming.

Correctly mark pg_subscription_rel.srsublsn as nullable.
20 Jul 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3
LLM analysis, 100% suremodified before commitlight changesfrom patchset #5

All three file changes from #5 match exactly: documentation, null-safe subscription reads, and the nullable field declaration. The commit additionally bumps src/include/catalog/catversion.h.

Correctly mark pg_subscription.subslotname as nullable.
19 Jul 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements the subslotname catalog correction proposed in #2, adding BKI_FORCE_NULL, documentation, and a catalog-version bump. It predates every attachment; its changes were subsequently included in the backpatch proposal #6.

Credits across 5 commits

Author
Tom LaneLLM4
Committer
Tom Lane5

N LLM means N of the credits come from LLM analysis, not from commit trailers.