Mar 2019

5 commits
Un-hide most cascaded-drop details in regression test results.
24 Mar 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

This implements Tom Lane's proposal in #18 to remove cascade-detail suppression once ordering is stable. Its changes to 39 regression SQL and expected-output files are absent from both attached patches.

Sort dependent objects before reporting them in DROP ROLE.
24 Mar 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #33

The commit preserves the collection, sorting, reporting and dependency.out adjustment from #33. It renames ShDepObjectInfo to ShDependObjectInfo and adds a final deptype comparison to distinguish multiple dependency types for the same object.

Go back to suppressing foreign_data DETAIL test output.
22 Mar 2019Peter Geogheganmaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

After identifying the separate DROP ROLE path in #21, Tom Lane requested restoration of the suppression in #24, and Peter Geoghegan undertook it in #25. The commit restores terse verbosity in foreign_data.sql and foreign_data.out with a more specific comment; neither attachment contains this change.

Sort the dependent objects before deletion in DROP OWNED BY.
20 Mar 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11

The commit implements the descending-OID sort from #11 through an exported sort_object_addresses function called by shdepDropOwned. As explained in #14, this replaces the proposed PERFORM_DELETION_SORTEDLY flag and preserves the const-qualified performMultipleDeletions interface.

Suppress DETAIL output from a foreign_data test.
20 Mar 2019Peter Geogheganmaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Peter Geoghegan reported batfish's reversed foreign_data DETAIL lines in #7. The commit suppresses those lines using terse verbosity in foreign_data.sql and foreign_data.out and predates both attachments.

Credits across 5 commits

Author
Tom LaneLLM2
Committer
Tom Lane3
Peter Geoghegan2

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