Feb 2019

3 commits
Refactor index cost estimation functions in view of IndexClause changes.
15 Feb 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #16

The commit completes the prototype in #16, retaining its exported costing helpers and direct IndexClause iteration in selfuncs.c. It additionally converts GIN costing, removes IndexQualInfo and deconstruct_indexquals(), and adapts iteration to the nonempty indexquals invariant established by 8fd3fdd85a.

Simplify the planner's new representation of indexable clauses a little.
15 Feb 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

In #16, Tom proposes making IndexClause.indexquals always nonempty, but the attachment still handles NIL by constructing a temporary singleton list. The commit implements the proposed invariant in indxpath.c and pathnodes.h and simplifies its consumers in createplan.c and selfuncs.c.

Move pattern selectivity code from selfuncs.c to like_support.c.
14 Feb 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surelanded as postedfrom patchset #15

All three files have identical before-and-after blob hashes in the attachment at #15 and the commit: like_support.c, selfuncs.c, and selfuncs.h. Differences in diff hunk placement do not change the resulting files.

Jan 2019

2 commits
Refactor planner's header files.
29 Jan 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #1

This lands the third component of #1, introducing optimizer/optimizer.h and relocating declarations and includes; the first two components landed separately in a1b8c41e99. Beyond rebasing, the committed header-refactoring component adds an optimizer/optimizer.h include to src/backend/optimizer/plan/planmain.c.

Make some small planner API cleanups.
29 Jan 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1

This combines the first two components of #1: generic node-helper relocation and the Query-based flatten_join_alias_vars() API. Their combined added and removed lines match the commit exactly, while the optimizer/optimizer.h component is excluded.

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.