Apr - May 2024

2 commits
Throw a more on-point error for publications depending on columns.
2 May 2024Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7
LLM analysis, 100% surewritten from the discussion, no matching patch0 of 1 reviewer saw the final version

Alexander Lakhin reported the publication row-filter case in #3, and Tom Lane chose a dedicated error in #6 after the generic approach failed. The commit adds PublicationRelRelationId handling in src/backend/commands/tablecmds.c, following 42b041243c.

  • Alexander Lakhinsaw an earlier versionLLM analysis, 86% sureIn #5, he evaluated and supported generic dependency errors despite losing detection of invalid dependencies; Tom replaced that approach with a dedicated publication error in #6.
Throw a more on-point error for functions depending on columns.
28 Apr 2024Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12
LLM analysis, 100% surewritten from the discussion, no matching patch

The report in #1 and Tom Lane's proposed explicit unsupported-feature error in #2 directly explain the ProcedureRelationId case added to RememberAllDependentForRebuilding in src/backend/commands/tablecmds.c. The commit also permits these dependencies during ALTER COLUMN SET EXPRESSION.

Credits across 2 commits

Committer
Tom Lane2