Filter:

Commits in 2026

Commits92 commits of which 60 backported
26Author
71Committer
41Reviewer15 as committer
1Reported by
6Co-author
CreditCommitBranchesThread(s)Committed
CommitterReviewercommitterBackportedSQL/JSON: Fix PASSING of string types other than text and varchar
c5daeb1e
masterunreleasedREL_19_STABLE19.0REL_18_STABLEunreleasedREL_17_STABLEunreleased
SQL/JSON PASSING fails for char(n), name and domains over textBUG #19813: jsonpath: datetime errors bypass silent/ON ERROR; boolean() inconsistent; PASSING rejects bpchar/namNov 11, 2026
ReviewerBackportedClose portals at end of trigger functions with transition tables.
7a910b4ecommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedForbid changing type if the rowtype is used in a foreign table
fbd9f77ecommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedCheck for missing dependencies on types
ac460a14committed by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedCheck for Consts in function DEFAULTs and body
882eb502committed by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedCheck relation dependencies more carefully
6e578eebcommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedCheck for Consts in domain DEFAULTs
3a98781bcommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedCheck for Consts in constraint definitions
1ff5607ecommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
No linked threadNov 09, 2026
ReviewerBackportedForbid ALTERing column type by default when other objects depend on it
0b0f5c5acommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Dropping a composite attribute causes data integrity violationsDetaching a child table makes an expression using it unrestorableNov 09, 2026
ReviewerBackportedDon't leave a stale slot in 'tcs_original_insert_tuple'
398eb35fcommitted by Noah Misch
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20
No linked threadNov 09, 2026
CommitterReviewercommitterBackportedJSON_TABLE: fix missing collation assignments
e405a46c
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
BUG #19768: JSON_TABLE: row/text comparisons in context item or PASSING give wrong results or spurious collationNov 06, 2026
CommitterReviewercommitterBackportedSQL/JSON: Fix NULL result leakage in JSON_VALUE() RETURNING json/jsonb
627c4df3
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
BUG #19695: JSON_VALUE ... RETURNING jsonb returns NULL for later evaluation once one evaluation returns NULLNov 05, 2026
CommitterReviewercommitterBackportedSQL/JSON: Fix ON EMPTY/ERROR state leakage on NULL input
ee7cfb99
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
BUG #19621: Unexpected results of JSON_VALUE with DEFAULT ON EMPTYNov 04, 2026
AuthorLLMCommitterBackportedFix multi-row INSERT with a sublink in a target column subscript
ba3115d8
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
multi-row INSERT broken with a sublink in a target column subscriptNov 04, 2026
CommitterCo-authorBackportedDon't free a cached RI plan that may be in use
e5f6a7a2
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
Two more RI fast-path issues[PATCH] Fix segmentation fault caused by reentrancy in RI_Fkey_cascade_del (ri_triggers.c)Nov 04, 2026
CommitterCo-authorBackportedFix JSON_TABLE with sublinks in PASSING arguments
35b349a5
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
BUG #19786: JSON_TABLE: subquery in PASSING gives "unexpected non-SELECT command in SubLink"Oct 29, 2026
CommitterReviewercommitterBackportedSQL/JSON: fix error handling when coercing to a domain fails softly
b6e41c16
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
SQL/JSON DEFAULT ON ERROR/ON EMPTY evaluation fail should rethrow error unconditionallyOct 29, 2026
CommitterReviewercommitterBackportedSQL/JSON: always rethrow soft errors from DEFAULT expressions
17b4e996
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
SQL/JSON DEFAULT ON ERROR/ON EMPTY evaluation fail should rethrow error unconditionallyOct 29, 2026
CommitterBackportedTemporarily remove a test case that hits an unfixed bug
f52d4051
masterunreleasedREL_19_STABLE19rc2
Two more RI fast-path issuesOct 22, 2026
AuthorLLMCommitterBackportedRemove RI fast-path code for calling cast functions
964d88fa
masterunreleasedREL_19_STABLE19rc2
PG19: two RI fast-path issues found while testing the batching revertOct 15, 2026
CommitterReported byBackportedUse SPI for RI checks whose FK values need a cast function
6aecabcd
masterunreleasedREL_19_STABLE19rc2
PG19: two RI fast-path issues found while testing the batching revertOct 15, 2026
ReviewerBackportedDon't use SubPlan-containing expressions for startup-time pruning
eacee6b6committed by Richard Guo
masterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7
ERROR: SubPlan found with no parent planOct 14, 2026
AuthorLLMCommitterBackportedLock RI fast-path rows as of the scan snapshot's command ID
061065e2
masterunreleasedREL_19_STABLE19rc1
Two more RI fast-path issuesOct 08, 2026
AuthorLLMCommitterBackportedRefuse RI fast-path row locks in read-only transactions
c993d9f7
masterunreleasedREL_19_STABLE19rc1
Two more RI fast-path issuesOct 08, 2026
CommitterBackportedFix possible crash when RI fast-path metadata is invalidated mid-check
e73e0196
masterunreleasedREL_19_STABLE19rc1
RI fastpath misses checking EXECUTE on functionsOct 06, 2026
CommitterBackportedRemove batching from RI fast-path checks
425daf54
masterunreleasedREL_19_STABLE19beta4
Revert RI fast-path batching from REL_19_STABLEOct 03, 2026
CommitterBackportedCheck EXECUTE privilege on functions invoked by the RI fast path
1a846a55
masterunreleasedREL_19_STABLE19rc1
RI fastpath misses checking EXECUTE on functionsSep 26, 2026
AuthorLLMCommitterFix missed pgindent in varlena.c
9ca52f1a
REL_19_STABLE19rc1
potentially missed pgindent in REL_19_STABLESep 25, 2026
CommitterBackportedEnsure ExecutorCheckPerms_hook is called from RI fast path
2cdd1950
masterunreleasedREL_19_STABLE19rc1
ri_Fast* crash w/ nullable UNIQUE constraintSep 24, 2026
AuthorLLMCommitterBackportedAttempt to fix test interference from foreign_key opfamily test
9e17d25e
masterunreleasedREL_19_STABLE19beta4
pgsql: Invalidate RI fast-path metadata on operator family changesSep 20, 2026
CommitterReviewercommitterBackportedInvalidate RI fast-path metadata on operator family changes
c62b3309
masterunreleasedREL_19_STABLE19beta4
PG19: two RI fast-path issues found while testing the batching revertSep 19, 2026
CommitterCo-authorBackportedFix RI fast-path permission checks
2c45694a
masterunreleasedREL_19_STABLE19beta4
PG19: two RI fast-path issues found while testing the batching revertSep 19, 2026
CommitterBackportedFall back to SPI for RI checks with mismatched index collations
0b0b4132
masterunreleasedREL_19_STABLE19beta4
Revert RI fast-path batching from REL_19_STABLESep 11, 2026
AuthorLLMCommitterBackportedClarify RI tuple-lock result handling comments
5e34fe35
masterunreleasedREL_19_STABLE19beta4
Revert RI fast-path batching from REL_19_STABLESep 10, 2026
CommitterBackportedTake RI fast-path snapshot after locking referenced relation
3f660d86
masterunreleasedREL_19_STABLE19beta4
Re-read conindid under the referenced table's lock in the RI fast pathSep 10, 2026
CommitterBackportedTrack RI fast-path FK-check batches per subtransaction
e2c812f1
masterunreleasedREL_19_STABLE19beta4
PG19 FK fast path: OOB write and missed FK checks during batchedAug 22, 2026
AuthorLLMCommitterBackportedTrack RI fast-path FK-check batches per firing cycle
6fc2a486
masterunreleasedREL_19_STABLE19beta4
PG19 FK fast path: OOB write and missed FK checks during batchedRI fast path gets cross-type foreign keys wrongAug 20, 2026
AuthorLLMCommitterBackportedRestore after-trigger firing context at subtransaction end
785dd853
masterunreleasedREL_19_STABLE19beta4
PG19 FK fast path: OOB write and missed FK checks during batchedAug 20, 2026
AuthorLLMCommitterBackportedGive RI fast-path cached FmgrInfos their own memory context
590b8e89
masterunreleasedREL_19_STABLE19beta4
ri_Fast* crash w/ nullable UNIQUE constraintInvalidateConstraintCacheCallBack() can free fpmeta while it's in useAug 19, 2026
CommitterBackportedDon't free fast-path FK metadata from the inval callback
170c9344
masterunreleasedREL_19_STABLE19beta4
InvalidateConstraintCacheCallBack() can free fpmeta while it's in useri_Fast* crash w/ nullable UNIQUE constraintAug 19, 2026
CommitterReviewercommitterBackportedFix RI fast-path race with REINDEX CONCURRENTLY
d02a9084
masterunreleasedREL_19_STABLE19beta4
RI fast path gets cross-type foreign keys wrongAug 18, 2026
CommitterBackportedFix cross-type foreign keys in the batched fast-path FK check
cc449a50
masterunreleasedREL_19_STABLE19beta4
RI fast path gets cross-type foreign keys wrongAug 18, 2026
ReviewerBackportedHarden tsquery code against overflows.
90649b6fcommitted by Noah Misch
masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
No linked threadAug 10, 2026
ReviewerBackportedHarden tsvector code against overflows.
23d9ad77committed by Noah Misch
masterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
No linked threadAug 10, 2026
CommitterBackportedHandle nullable referenced key in RI fast-path check
0ec3f048
masterunreleasedREL_19_STABLE19beta3
ri_Fast* crash w/ nullable UNIQUE constraintAug 07, 2026
CommitterBackportedAdd previous commit to .git-blame-ignore-revs
dea28d46
masterunreleasedREL_19_STABLE19beta3
No linked threadAug 07, 2026
CommitterBackportedFix indentation issue introduced by commit 291a4bd2ca
d34f9505
masterunreleasedREL_19_STABLE19beta3
No linked threadAug 07, 2026
AuthorLLMCommitterBackportedFire fast-path FK batches inside the deferred trigger loop
291a4bd2
masterunreleasedREL_19_STABLE19beta3
ri_Fast* crash w/ nullable UNIQUE constraintAug 07, 2026
AuthorLLMCommitterBackportedBegin RI fast-path index scan under the switched user id
7c1c2f0b
masterunreleasedREL_19_STABLE19beta3
ri_Fast* crash w/ nullable UNIQUE constraintAug 07, 2026
CommitterBackportedRestrict RI fast-path FK check to btree referenced indexes
edc92e0f
masterunreleasedREL_19_STABLE19beta3
ri_Fast* crash w/ nullable UNIQUE constraintAug 07, 2026
CommitterBackportedRemove stale comment on ri_FastPathCheck()
ccfa6c96
masterunreleasedREL_19_STABLE19beta3
ri_Fast* crash w/ nullable UNIQUE constraintAug 07, 2026
Co-authorJSON_TABLE PLAN clause
86ab7f4ccommitted by Alexander Korotkov
masterunreleased
SQL/JSON: functionsPG 15 (and to a smaller degree 14) regression due to ExprEvalStep sizeSQL/JSON features for v15remaining sql/json patchesSQL/JSON json_table plan clauseJul 09, 2026
CommitterReviewercommitterBackportedEnforce RETURNING typmod on SQL/JSON DEFAULT behavior expressions
4c75cc78
masterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11
JSON_VALUE/JSON_TABLE DEFAULT expression ignores RETURNING typmodJul 06, 2026
AuthorLLMCommitterHardwire RI fast-path end-of-xact cleanup into xact.c
6f4bac85
master19beta2REL_19_STABLE19beta2
In core use of RegisterXactCallback() and RegisterSubXactCallback()Jun 29, 2026
AuthorLLMCommitterAvoid ABI break in ModifyTableState from the FDW pruning fix
bba4e095
REL_18_STABLE18.6
BUG #19484: Segmentation fault triggered by FDWJun 25, 2026
CommitterReviewercommitterBackportedRe-index ModifyTable FDW arrays when pruning result relations
b43f8aa4
master19beta2REL_19_STABLE19beta2REL_18_STABLE18.6
BUG #19484: Segmentation fault triggered by FDWJun 23, 2026
CommitterReviewerBackportedReport undefined jsonpath variable when no variables are supplied
36401432
REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
BUG #19458: OOM killer in jsonb_path_exists_opr (@?) with malformed JSONPath containing non-existent variablesJun 18, 2026
CommitterReviewerFix RI fast-path for domain-typed FK columns
68ace967
master19beta2REL_19_STABLE19beta2
Fast-path FK checks reject valid inserts for domain-typed FK columnsJun 17, 2026
AuthorLLMCommitterConfine RI fast-path batching to the top transaction level
4113873a
master19beta2REL_19_STABLE19beta2
PG19 FK fast path: OOB write and missed FK checks during batchedJun 12, 2026
AuthorLLMCommitterFix out-of-bounds write in RI fast-path batch on re-entry
0e47bb5f
master19beta2REL_19_STABLE19beta2
PG19 FK fast path: OOB write and missed FK checks during batchedJun 12, 2026
ReviewerBackportedFix MCV input array checks in statistics restore functions
6d6348f0committed by Noah Misch
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
No linked threadMay 11, 2026
CommitterReviewerFix use-after-free of qs in AfterTriggerEndQuery.
4b1b2be2
master19beta1REL_19_STABLE19beta1
Server crash: Use-after-free in AfterTriggerEndQuery()May 08, 2026
AuthorCommitterUse "concurrent delete" in serialization error for TM_Deleted cases
410013d2
master19beta1REL_19_STABLE19beta1
ri_LockPKTuple misleading messageMay 01, 2026
ReviewerFix JSON_ARRAY(query) empty set handling and view deparsing
8d829f5acommitted by Richard Guo
master19beta1REL_19_STABLE19beta1
BUG #19418: SQL/JSON JSON_VALUE() does not conform to ISO/IEC 9075-2:2023(E) 6.34 <JSON value constructor>May 01, 2026
CommitterReviewercommitterFix some const qualifier use in ri_triggers.c
1b9dc2cb
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 22, 2026
CommitterReviewerReject invalid databases in pg_get_database_ddl()
cda0c4c5
master19beta1REL_19_STABLE19beta1
Reject invalid databases in pg_get_database_ddl()Apr 17, 2026
CommitterReviewerBackportedFix pg_overexplain to emit valid output with RANGE_TABLE option.
059cf7f5
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
pg_overexplain produces invalid JSON with RANGE_TABLE optionApr 16, 2026
CommitterReviewercommitterBackportedFix incorrect comment in JsonTablePlanJoinNextRow()
b5062a4e
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10
[PATCH] Fix wrong comment in JsonTablePlanJoinNextRow()Apr 16, 2026
AuthorLLMCommitterAdd test case for same-type reordered FK columns
009ea1b0
master19beta1REL_19_STABLE19beta1
BUG: PostgreSQL 19devel throws internal opfamily error for FK with reordered referenced columnsApr 10, 2026
AuthorLLMCommitterMove afterTriggerFiringDepth into AfterTriggersData
d6e96bac
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 10, 2026
CommitterAssert index_attnos[0] == 1 in ri_FastPathFlushArray()
155c03ee
master19beta1REL_19_STABLE19beta1
BUG: PostgreSQL 19devel throws internal opfamily error for FK with reordered referenced columnsApr 10, 2026
CommitterReviewercommitterFix FK fast-path scan key ordering for mismatched column order
980c1a85
master19beta1REL_19_STABLE19beta1
BUG: PostgreSQL 19devel throws internal opfamily error for FK with reordered referenced columnsApr 10, 2026
CommitterFix typo left by 34a30786293
03029409
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 10, 2026
AuthorCommitterFix RI fast-path crash under nested C-level SPI
34a30786
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 10, 2026
AuthorLLMCommitterAdd nkeys parameter to recheck_matched_pk_tuple()
e1cc57fa
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 09, 2026
CommitterCo-authorFix deferred FK check batching introduced by commit b7b27eb41a5
5c54c3ed
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 07, 2026
AuthorCommitterOptimize fast-path FK checks with batched index probes
b7b27eb4
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 03, 2026
AuthorLLMCommitterMake FastPathMeta self-contained by copying FmgrInfo structs
edee5634
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Apr 01, 2026
AuthorLLMCommitterFix two issues in fast-path FK check introduced by commit 2da86c1ef9
e484b0ee
master19beta1REL_19_STABLE19beta1
pgsql: Add fast path for foreign key constraint checksApr 01, 2026
CommitterFix use-after-free in ri_LoadConstraintInfo
68a8601e
master19beta1REL_19_STABLE19beta1
pgsql: Add fast path for foreign key constraint checksMar 31, 2026
CommitterCo-authorAdd fast path for foreign key constraint checks
2da86c1e
master19beta1REL_19_STABLE19beta1
Eliminating SPI / SQL from some RI triggers - take 3Mar 31, 2026
AuthorLLMCommitterBackportedDoc: fix stale text about partition locking with cached plans
c57d8178
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
pgsql: Doc: add information about partition lockingMar 30, 2026
CommitterReviewercommitterAdd comment explaining fire_triggers=false in ri_PerformCheck()
1ad7191f
master19beta1REL_19_STABLE19beta1
Add comments about fire_triggers argument in ri_triggers.cMar 30, 2026
ReviewerOptimize tuple deformation
c456e391committed by David Rowley
master19beta1REL_19_STABLE19beta1
More speedups for tuple deformationMar 15, 2026
ReviewerAdd all required calls to TupleDescFinalize()
50362031committed by David Rowley
master19beta1REL_19_STABLE19beta1
More speedups for tuple deformationMar 15, 2026
ReviewerStore information about Append node consolidation in the final plan.
7358abcccommitted by Robert Haas
master19beta1REL_19_STABLE19beta1
pg_plan_adviceFeb 10, 2026
ReviewerStore information about elided nodes in the final plan.
0d4391b2committed by Robert Haas
master19beta1REL_19_STABLE19beta1
pg_plan_adviceFeb 10, 2026
ReviewerStore information about range-table flattening in the final plan.
adbad833committed by Robert Haas
master19beta1REL_19_STABLE19beta1
pg_plan_adviceFeb 10, 2026
ReviewerAllow for plugin control over path generation strategies.
4020b370committed by Robert Haas
master19beta1REL_19_STABLE19beta1
pg_plan_adviceJan 28, 2026
AuthorCommitterBackportedFix bogus ctid requirement for dummy-root partitioned targets
f9a468c6
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
BUG #19099: Conditional DELETE from partitioned table with non-updatable partition raises internal errorJan 23, 2026
CommitterReviewercommitterBackportedFix rowmark handling for non-relation RTEs during executor init
889676a0
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
BUG #19355: Attempt to insert data unexpectedly during concurrent updateJan 16, 2026
CommitterReviewerBackportedFix segfault from releasing locks in detached DSM segments
9cbb1d21
master19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
Segmentation fault on proc exit after dshash_find_or_insertJan 16, 2026