Dec 2022

4 commits
Add custom filtering rules to the TAP tests of pg_upgrade
27 Dec 2022Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #151 of 1 reviewer saw the final version

The commit takes only the custom-filtering patch from #15, omitting unconditional privilege normalization. In 002_pg_upgrade.pl it renames the variable to filter_rules, streams rules, checks opening the file, skips blank lines, and logs applied rules; TESTING is rewritten, consistent with #16.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Switch query fixing aclitems in ~15 from O(N^2) to O(N) in upgrade_adapt.sql
25 Dec 2022Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Justin identified repeated pg_attribute scans in #7, and Michael supplied a joined-query replacement in #8. The committed single-loop query matches the SQL reproduced and timed in #10, with delimiter and style adjustments; no indexed patchset contains this fix.

  • Justin Pryzbysaw the final versionLLM analysis, 100% sureJustin reported the repeated-scan problem in #7 and approved Michael's replacement in #11 before it was committed.
  • Anton A. Melnikovsaw the final versionLLM analysis, 100% sureAnton tested Michael's replacement query and reported an average execution time of 36 milliseconds in #10 before the commit.
Update upgrade_adapt.sql to handle tables using aclitem as data type
23 Dec 2022Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #51 of 1 reviewer saw the final version

The commit retains the version guard and nested catalog loops converting table aclitem columns to text from #5, adding identifier quoting and adjusting comments and formatting. It omits materialized-view/index removal and the separately committed WITH OIDS change, as explained in #6.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix some incorrectness in upgrade_adapt.sql on query for WITH OIDS
23 Dec 2022Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7REL_13_STABLE13.10+1 more
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #5

The commit extracts the WITH OIDS correction from #5 in upgrade_adapt.sql, expanding the proposed table-only condition to include foreign tables and adding quote_ident(). Michael confirms this separate landing and its backpatching in #6.

Credits across 4 commits

Author
Anton A. Melnikov3
Michael Paquier1 LLM2
Reviewer
Michael Paquiercommitter2
Reported by
Justin Pryzby1
Committer
Michael Paquier4

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