Apr 2019

2 commits
Remove unused struct member, enforce multi_insert callback presence.
5 Apr 2019Andres Freundmaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #89

Includes both nbuffers deletions from #89 unchanged and adds Assert(routine->multi_insert != NULL) in src/backend/access/table/tableamapi.c.

tableam: Add table_multi_insert() and revamp/speed-up COPY FROM buffering.
4 Apr 2019Andres Freundmaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 moreAlso in: Pluggable Storage - Andres's take (part of a posted patchset)
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #84

The complete combined implementation matches #84, later than the source identified by thread #38991, whose tableam contribution is already incorporated alongside David Rowley's buffering rewrite. Committer edits rename helpers, document the callback, combine flush loops, and flush pending inserts before entering a partition that cannot batch, as explained in #88.

Jan 2019

3 commits
Separate per-batch and per-tuple memory contexts in COPY
28 Jan 2019Tomas Vondramaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #56

Uses the separate batch context and partition-boundary tuple copying from #56. Unlike that attachment, the commit keeps NextCopyFrom in the per-tuple context and switches to the batch context only before heap_form_tuple, with accompanying comment corrections.

Fix handling of volatile expressions in COPY FROM ... WHERE
22 Jan 2019Tomas Vondramaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 97% surepart of a posted patchsetlight changesfrom patchset #54

Extracts the unchanged volatility-check hunk from the combined fixes in #54, leaving the memory-context rewrite for later. This hunk also exactly matches the earlier standalone patch #50, and #56 confirms the separate landing.

Allow COPY FROM to filter data using WHERE conditions
19 Jan 2019Tomas Vondramaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #401 of 3 reviewers saw the final version

Implements #40 with documentation wording and formatting changes plus a COPY TO WHERE rejection test in src/test/regress/sql/copy2.sql and its expected output; the filtering logic is unchanged.

  • Tomas Vondrasaw the final versiontrailerReviewed parsing, interruption handling, tests, volatility semantics, and documentation in #8, #27, #31, and #39, then committed the final version in #42.
  • Masahiko Sawadasaw an earlier versiontrailerTested #10 and reported collation and CollateExpr failures in #11, before the collation fixes and later volatility-handling changes.
  • Lim Myungkyusaw an earlier versiontrailerReported testing and the ignored COPY TO condition in #9, then tested #16 and identified style issues in #25, before the later volatility-handling changes.

Credits across 5 commits

Author
Andres Freund2
David Rowley2
Tomas VondraLLM2
Haribabu Kommi1
Surafel Temesgen1
Reviewer
Masahiko Sawada1
myungkyu.lim1
Tomas Vondra1
Committer
Tomas Vondra3
Andres Freund2

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