Mar 2019

3 commits
Test partition functions with legacy inheritance children, too
4 Mar 2019Alvaro Herreramaster12beta1REL_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

Adds legacy-inheritance parent and child tests in src/test/regress/sql/partition_info.sql and its expected output; none of the attachments contains these tests. Alvaro raised this case in #26 and announced the added tests in #35.

Consider only relations part of partition trees in partition functions
2 Mar 2019Michael Paquiermaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #301 of 1 reviewer saw the final version

The partitionfuncs.c changes match #30 exactly; the commit additionally tests partitioned tables and indexes without partitions, as confirmed in #32. Amit supplied the eligibility-check code in #28, and Michael explicitly acknowledged his co-authorship in #34.

  • Tom Lanesaw the final versiontrailerTom confirmed the distinction between zero rows for ordinary tables and a visible result for childless partitioned tables in #31, after explaining that requirement in #29.
Make pg_partition_tree return no rows on unsupported and undefined objects
1 Mar 2019Michael Paquiermaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surelanded as postedfrom patchset #242 of 2 reviewers saw the final version

Both the partitionfuncs.c change to first-call SRF_RETURN_DONE() and the three zero-row regression expectations match #24 exactly.

  • Álvaro Herrerasaw the final versiontrailerAlvaro proposed SRF_RETURN_DONE() in #23 and explicitly reviewed the attached correction and requested its commit in #26.
  • Amit Langotesaw the final versiontrailerAmit examined catalog-query results and supported the attached patch's empty-result behavior in #25.

Dec 2018

1 commit
Tweak pg_partition_tree for undefined relations and unsupported relkinds
12 Dec 2018Michael Paquiermaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #91 of 2 reviewers saw the final version

The code and regression changes match #9 except for rewording the relation-kind comment to describe returning NULL. Stephen requested that comment change in #11, and Michael accepted it in #19.

  • Amit Langotesaw an earlier versiontrailerAmit endorsed the initial undefined-OID fix in #3, before unsupported-relkind behavior was changed; his agreement with the broader behavior in #21 came after commitment and does not establish review of the revised patch.
  • Stephen Frostsaw the final versiontrailerStephen advocated returning NULL for unsupported relation kinds in #7 and reviewed the revised patch in #11, requesting the comment adjustment included in the commit.

Credits across 4 commits

Author
Michael Paquier3
Amit Langote1
Reviewer
Amit Langote2
Alvaro Herrera1
Stephen Frost1
Tom Lane1
Reported by
Alvaro Herrera1
Committer
Michael Paquier3
Alvaro Herrera1