May 2021

3 commits
Remove plpgsql's special-case code paths for SET/RESET.
22 May 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% surewritten from the discussion, no matching patch

Tom Lane explicitly proposes removing PLPGSQL_STMT_SET infrastructure in #10 but leaves it out of the attachment because it is unsuitable for back branches. The commit implements that follow-up by removing SET/RESET-specific grammar, execution and support code while retaining the tests.

Restore the portal-level snapshot after procedure COMMIT/ROLLBACK.
21 May 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4+2 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #10

Preserves the portal snapshot bookkeeping, SPI logic, logical-replication snapshot fixes and isolation test from #10. Changes chiefly propagate the no_snapshots-to-allow_nonatomic rename through SPIExecuteOptions, callers and documentation, with comment and whitespace cleanup.

Avoid detoasting failure after COMMIT inside a plpgsql FOR loop.
20 May 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4+2 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #5

The exec_for_query() prefetch guard and isolation test match #5, apart from a test comment. The commit additionally clarifies the error and documents unsafe cross-transaction TOAST references in src/backend/access/common/toast_internals.c; it does not adopt the fallback from #4.

Credits across 3 commits

Author
Tom LaneLLM2
Committer
Tom Lane3

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