Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
571 commits
Select commit Hold shift + click to select a range
aad8bcb
Sync files with PG19(Fix PL/pgSQL's handling of anycompatiblemultiran…
hs-liuxh Nov 17, 2026
6369f6e
doc: Fix option name in --filter description for pg_restore
danielgustafsson Oct 26, 2026
b422025
Avoid truncated or zero-padded copies of replaced files in backups
michaelpq Oct 27, 2026
3eb2f42
Disallow NOT NULL NO INHERIT constraints on partitioned tables
david-rowley Oct 27, 2026
f08733f
Sync files with PG19(Disallow NOT NULL NO INHERIT constraints on part…
hs-liuxh Nov 17, 2026
2d9736d
Fix deparsing of AT TIME ZONE and similar as FROM-clause functions.
tglsfdc Oct 27, 2026
791d62e
Sync files with PG19(Fix deparsing of AT TIME ZONE and similar as FRO…
hs-liuxh Nov 17, 2026
d314411
Avoid torn copy of the control file in base backups
michaelpq Oct 27, 2026
fa8c892
Fix stale pg_index flags in the relcache for TOAST indexes
michaelpq Oct 28, 2026
7b7a8f1
Sync files with PG19(Fix stale pg_index flags in the relcache for TOA…
hs-liuxh Nov 17, 2026
5c2d955
SQL/JSON: always rethrow soft errors from DEFAULT expressions
amitlan Oct 29, 2026
84ad454
Sync files with PG19(SQL/JSON: always rethrow soft errors from DEFAUL…
hs-liuxh Nov 17, 2026
30f2c08
Work around failure with SPARC in base backup code
michaelpq Oct 29, 2026
f508ff5
SQL/JSON: fix error handling when coercing to a domain fails softly
amitlan Oct 29, 2026
7c499ef
Sync files with PG19(SQL/JSON: fix error handling when coercing to a …
hs-liuxh Nov 17, 2026
1e3ca64
Fix JSON_TABLE with sublinks in PASSING arguments
amitlan Oct 29, 2026
9c975bc
Sync files with PG19(Fix JSON_TABLE with sublinks in PASSING arguments)
hs-liuxh Nov 17, 2026
0598c4f
Do not take a full-page image for REGBUF_NO_CHANGE buffers
michaelpq Oct 29, 2026
6a2c7bc
Don't replace clone clauses with constant TRUE
Oct 29, 2026
be92575
Sync files with PG19(Don't replace clone clauses with constant TRUE)
hs-liuxh Nov 17, 2026
042f33a
Empty partial_pathlist when unsetting consider_parallel flag
david-rowley Oct 29, 2026
ca1d6e9
Fix nestloop parameter assignment for PHVs evaluated above outer joins
Oct 30, 2026
265ef68
Sync files with PG19(Fix nestloop parameter assignment for PHVs evalu…
hs-liuxh Nov 17, 2026
7be7af6
Remove unwarranted Assert in dependencies_clauselist_selectivity()
david-rowley Oct 30, 2026
2c2d621
Check all four box corners in SP-GiST quad tree <@ search
j-naylor Oct 30, 2026
74061f0
Sync files with PG19(Check all four box corners in SP-GiST quad tree …
hs-liuxh Nov 17, 2026
9916fcf
Fix crash-restart race in 041_checkpoint_at_promote.pl
MasaoFujii Oct 30, 2026
956c0f9
Sync files with PG19(Fix crash-restart race in 041_checkpoint_at_prom…
hs-liuxh Nov 17, 2026
335551e
Return INT_MAX or INT_MIN from strtoint() on overflow.
tglsfdc Oct 30, 2026
fedc306
libpq: handle GSS credentials more sanely.
tglsfdc Oct 30, 2026
535e6d5
Update time zone data files to tzdata release 2026f.
tglsfdc Oct 30, 2026
0d73d46
tests: Don't use the initdb template for older installations
anarazel Oct 30, 2026
630820e
Sync files with PG19(tests: Don't use the initdb template for older i…
hs-liuxh Nov 17, 2026
af60275
Fix error handling in pg_flush_data() and FilePrefetch()
hlinnaka Oct 31, 2026
26397d1
Fix two crashes on a concurrently dropped schema
hlinnaka Oct 31, 2026
8d10319
Fix WAL summary boundary checks for incremental backups.
MasaoFujii Nov 1, 2026
e919525
Fix incremental backup data loss due to WAL summary merge order
MasaoFujii Nov 1, 2026
68da447
meson: Avoid PATH bloat from NLS .mo targets in tmp_install test
adunstan Jul 13, 2026
f5a14b3
Fix failure in function cache entry hashing during validation mode.
tglsfdc Nov 1, 2026
342131f
Fix pgoutput crash on missing option values
michaelpq Nov 1, 2026
7a02b17
Fix wrong results from Memoize with a Param inside a cache key
Nov 2, 2026
5bce2cf
Sync files with PG19(Fix wrong results from Memoize with a Param insi…
hs-liuxh Nov 17, 2026
c6cd873
Fix double-free when XMLSERIALIZE(... INDENT) output exceeds 1GB.
tglsfdc Nov 2, 2026
e227505
Fix reuse of stale hash tables by duplicated hashed SubPlans
Nov 2, 2026
cc59c21
Sync files with PG19(Fix reuse of stale hash tables by duplicated has…
hs-liuxh Nov 17, 2026
83a4138
Delay checkpoint start in RecordTransactionAbortPrepared()
michaelpq Nov 2, 2026
4b44261
Update .abi-compliance-history for hashed SubPlan fix
Nov 2, 2026
dbacb1d
Fix missing tts_tid assignments in ExecForceStoreHeapTuple().
nathan-bossart Nov 2, 2026
fac241c
Handle numeric overflow in numeric_minmax_multi_ops
tvondra Nov 2, 2026
8c185fa
Sync files with PG19(Handle numeric overflow in numeric_minmax_multi_…
hs-liuxh Nov 17, 2026
3257434
Fix BRIN minmax-multi distance for tid values
tvondra Nov 2, 2026
c711dd8
Delay checkpoint start while creating a multixact
hlinnaka Nov 2, 2026
419430f
Make Memoize cache keys only of Params from outer query levels
Nov 3, 2026
55b8fa6
Sync files with PG19(Make Memoize cache keys only of Params from oute…
hs-liuxh Nov 17, 2026
70d747b
Fix lost wakeups in physical WAL senders
MasaoFujii Nov 3, 2026
c0ef348
Fix incorrect LSNs in WAL decoding error messages
MasaoFujii Nov 3, 2026
495176f
Reject incremental backups based on a backup from a divergent history
MasaoFujii Nov 3, 2026
20135a2
doc: Correct setting restrictions for vacuum_max_eager_freeze_failure…
MasaoFujii Nov 3, 2026
85a09bf
doc: Fix column name in routine_sequence_usage documentation
MasaoFujii Nov 3, 2026
3d5b075
doc: Match built-in function parameter names to their SQL names
MasaoFujii Nov 3, 2026
cb851d6
Improve stability of authentication test 007_pre_auth
michaelpq Nov 3, 2026
b66baec
Sync files with PG19(Improve stability of authentication test 007_pre…
hs-liuxh Nov 17, 2026
e893c34
Fix Memoize to correctly use clause's input collation
david-rowley Nov 4, 2026
de25d9c
Sync files with PG19(Fix Memoize to correctly use clause's input coll…
hs-liuxh Nov 17, 2026
2149cf3
Fix memory leaks when freeing WAL readers
MasaoFujii Nov 4, 2026
06f33eb
Fix possible index corruption in pg_trgm GiST indexes
MasaoFujii Nov 4, 2026
b041d32
Fix incorrect Assert in add_foreign_ordered_paths
david-rowley Nov 4, 2026
468d883
Sync files with PG19(Fix incorrect Assert in add_foreign_ordered_paths)
hs-liuxh Nov 17, 2026
29418fb
Don't free a cached RI plan that may be in use
amitlan Nov 4, 2026
ea37756
Sync files with PG19(Don't free a cached RI plan that may be in use)
hs-liuxh Nov 17, 2026
ddbde5b
Fix comment in ExecAppendAsyncReset.
Nov 4, 2026
12abb52
Fix ExecCheckIndexConstraints() crash when es_snapshot is invalid.
deanrasheed Nov 4, 2026
51d9ce0
Fix accidental ignoring of subsequent keys in Sort nodes
david-rowley Nov 4, 2026
50023bd
Fix multi-row INSERT with a sublink in a target column subscript
amitlan Nov 4, 2026
36ed859
Sync files with PG19(Fix multi-row INSERT with a sublink in a target …
hs-liuxh Nov 17, 2026
15ae201
SQL/JSON: Fix ON EMPTY/ERROR state leakage on NULL input
amitlan Nov 4, 2026
806b315
Sync files with PG19(SQL/JSON: Fix ON EMPTY/ERROR state leakage on NU…
hs-liuxh Nov 17, 2026
ceed020
Avoid resetting subscription two_phase state to pending when already …
Nov 5, 2026
2a5d467
Sync files with PG19(Avoid resetting subscription two_phase state to …
hs-liuxh Nov 17, 2026
385d359
SQL/JSON: Fix NULL result leakage in JSON_VALUE() RETURNING json/jsonb
amitlan Nov 5, 2026
d90d8ef
Sync files with PG19(SQL/JSON: Fix NULL result leakage in JSON_VALUE(…
hs-liuxh Nov 17, 2026
ecb3dad
Fix io_uring resource leaks across crash restarts
MasaoFujii Nov 5, 2026
b66a6b2
Fix stale visibility maps in incremental backups after heap truncation
MasaoFujii Nov 5, 2026
6bb36b8
oauth: Recheck oauth_validator_libraries during authentication
danielgustafsson Nov 5, 2026
1dfb79d
Sync files with PG19(oauth: Recheck oauth_validator_libraries during …
hs-liuxh Nov 17, 2026
e4d3c75
Handle numeric overflow when handling range values
tvondra Nov 5, 2026
545a01d
Sync files with PG19(Handle numeric overflow when handling range values)
hs-liuxh Nov 17, 2026
782242b
oauth: Reject quoted empty string in validator config
danielgustafsson Nov 5, 2026
fe36ea3
Sync files with PG19(oauth: Reject quoted empty string in validator c…
hs-liuxh Nov 17, 2026
c6a5a2f
Fix oauth validator test on EXEC_BACKEND
danielgustafsson Nov 5, 2026
15894d1
Sync files with PG19(Fix oauth validator test on EXEC_BACKEND)
hs-liuxh Nov 17, 2026
ddfb27a
Fix use-after-free in COPY (ON_ERROR)
michaelpq Nov 6, 2026
a3b55bd
Sync files with PG19(Fix use-after-free in COPY (ON_ERROR))
hs-liuxh Nov 17, 2026
032f1aa
Add a check_hook for output_plugin_libraries
jchampio Nov 6, 2026
8e8581d
Sync files with PG19(Add a check_hook for output_plugin_libraries)
hs-liuxh Nov 17, 2026
a256625
doc: Improve output_plugin_libraries documentation
jchampio Nov 6, 2026
db30c32
Revert "Fix use-after-free in COPY (ON_ERROR)"
michaelpq Nov 6, 2026
d1f69c6
Sync files with PG19(Revert "Fix use-after-free in COPY (ON_ERROR)")
hs-liuxh Nov 17, 2026
e637dd7
Fix crash with single-input aggregates with multiple sort keys
david-rowley Nov 6, 2026
673a8d6
Sync files with PG19(Fix crash with single-input aggregates with mult…
hs-liuxh Nov 17, 2026
ee83efd
JSON_TABLE: fix missing collation assignments
amitlan Nov 6, 2026
96b7b23
Sync files with PG19(JSON_TABLE: fix missing collation assignments)
hs-liuxh Nov 17, 2026
e21e97a
file_fdw: Fix ANALYZE crashes with DEFAULT markers
MasaoFujii Nov 6, 2026
a474fc4
First-draft release notes for 18.7.
tglsfdc Nov 6, 2026
566a164
doc: Clarify that OAuth bearer tokens are sent in clear text
danielgustafsson Nov 6, 2026
278a688
Minor updates for back-branch release notes.
tglsfdc Nov 6, 2026
d7dc78c
Doc: tweak v18 to avoid "exceed the available area" PDF problems.
tglsfdc Nov 6, 2026
fbc2ec2
Exclude the variables in llvmjit_types.c from AddressSanitizer
anarazel Nov 7, 2026
62bf259
Fix more issues with extended statistics on expressions
michaelpq Oct 30, 2026
a7bbc28
Sync files with PG19(Fix more issues with extended statistics on expr…
hs-liuxh Nov 17, 2026
3a27976
Release notes for 18.7, 17.12, 16.16, 15.20, 14.25.
tglsfdc Nov 8, 2026
7f01d11
Translation updates
petere Nov 9, 2026
9ea2909
Sync files with PG19(Translation updates)
hs-liuxh Nov 17, 2026
086b7cd
pg_basebackup: Fix use of externally-controlled format string
petere Nov 9, 2026
8596a07
Fix type confusion in PL/Perl's get_perl_array_ref().
adunstan Nov 9, 2026
5cf3da1
Fix stale attribute pointer in COPY FROM error context.
MasahikoSawada Nov 9, 2026
435a19d
Sync files with PG19(Fix stale attribute pointer in COPY FROM error c…
hs-liuxh Nov 18, 2026
8a002cc
Fix potential buffer overrun in tsvector_delete().
tglsfdc Nov 9, 2026
3e4dcb2
Fix potential buffer overrun in ts_rank_cd().
tglsfdc Nov 9, 2026
5136ba6
Prevent construction of invalid "name" values via element assignment.
tglsfdc Nov 9, 2026
2436f89
Avoid use-after-free hazards in re-entrant use of pltcl.
tglsfdc Nov 9, 2026
4152227
Support tied Perl objects in plperl and associated contrib modules.
tglsfdc Nov 9, 2026
8545e16
Fix PL/Perl to cope with errors thrown from tied structures.
tglsfdc Nov 9, 2026
cbe3671
Hold a reference on a Perl array or hash while scanning it.
tglsfdc Nov 9, 2026
84b9fdf
plperl: don't save and re-use temp context in return_next().
tglsfdc Nov 9, 2026
4f0a241
Further harden PL/Perl against tied-scalar mischief.
adunstan Nov 9, 2026
93feea0
Treat application of a leaky function to CaseTestExpr/Param as leaky.
tglsfdc Nov 9, 2026
6e13b15
Dispatch pre-auth cancel requests until _exit(1) handlers are disarmed
michaelpq Nov 9, 2026
2f9de89
reindexdb: Escape index names in parallel catalog query
michaelpq Nov 9, 2026
f0894f0
Fix reusing large allocations in generation memory contexts
hlinnaka Nov 9, 2026
283c30a
Handle composite type changes in ExecEvalFieldStore[De]Form
tvondra Nov 9, 2026
215ac79
Sync files with PG19(Handle composite type changes in ExecEvalFieldSt…
hs-liuxh Nov 18, 2026
f6368e3
Don't use MinMaxAggPath if aggregate's input and output types don't m…
tglsfdc Nov 9, 2026
82c82ba
find_or_make_matching_shared_tupledesc: Fix possible use-after-free.
robertmhaas Nov 9, 2026
0173018
Don't leave a stale slot in 'tcs_original_insert_tuple'
hlinnaka Nov 9, 2026
5d9165e
Sync files with PG19(Don't leave a stale slot in 'tcs_original_insert…
hs-liuxh Nov 18, 2026
d567a1e
plperl: Refuse to free a prepared query that is being executed.
MasahikoSawada Nov 9, 2026
1e2d8bb
Keep the relation open while importing its statistics.
MasahikoSawada Nov 9, 2026
b798691
Sync files with PG19(Keep the relation open while importing its stati…
hs-liuxh Nov 18, 2026
49c2a9a
Check that commutator/negator operators return the same data type.
tglsfdc Nov 9, 2026
0b402da
Sync files with PG19(Check that commutator/negator operators return t…
hs-liuxh Nov 18, 2026
25f7069
Fix crash in REINDEX CONCURRENTLY due to DDLs run in index functions
michaelpq Nov 9, 2026
ea8a361
Sync files with PG19(Fix crash in REINDEX CONCURRENTLY due to DDLs ru…
hs-liuxh Nov 18, 2026
1775b85
Block ALTER SCHEMA RENAME attack on CREATE EXTENSION etc., via locking.
nmisch Nov 9, 2026
1dd34c2
Reject extnamespace if it's temporary or it's '$user'::regnamespace.
nmisch Nov 9, 2026
5e8614c
Sync files with PG19(Reject extnamespace if it's temporary or it's '$…
hs-liuxh Nov 18, 2026
ea5c366
Fix use-after-free issues due to drop of portals being set up
michaelpq Nov 9, 2026
9d7b1e4
Sync files with PG19(Fix use-after-free issues due to drop of portals…
hs-liuxh Nov 18, 2026
ca9eff9
Check EXECUTE privilege on type-to-json cast functions.
nathan-bossart Nov 9, 2026
ca1946e
Sync files with PG19(Check EXECUTE privilege on type-to-json cast fun…
hs-liuxh Nov 18, 2026
662d492
Check EXECUTE privilege on foreign key cast functions.
nathan-bossart Nov 9, 2026
e9cdcf5
Sync files with PG19(Check EXECUTE privilege on foreign key cast func…
hs-liuxh Nov 18, 2026
5c042fd
dict_int: Return NULL for zero-length tokens.
nathan-bossart Nov 9, 2026
3ef91de
Check table ownership when DROP OWNED BY changes policies.
nathan-bossart Nov 9, 2026
b18b217
Sync files with PG19(Check table ownership when DROP OWNED BY changes…
hs-liuxh Nov 18, 2026
e86076e
vacuumdb: Fully qualify the catalog query's operators.
nathan-bossart Nov 9, 2026
a0f2dfd
pg_restore: Fix out-of-bounds accesses and path traversal.
nathan-bossart Nov 9, 2026
da867e4
Prevent creating types in pg_temp from restricted code.
nathan-bossart Nov 9, 2026
40c5fe5
Sync files with PG19(Prevent creating types in pg_temp from restricte…
hs-liuxh Nov 18, 2026
3c20293
pg_dump: Quote not-null constraint names.
nathan-bossart Nov 9, 2026
cb6af0e
Avoid out-of-bounds accesses in FDW batch inserts.
nathan-bossart Nov 9, 2026
4257208
Sync files with PG19(Avoid out-of-bounds accesses in FDW batch inserts.)
hs-liuxh Nov 18, 2026
14a37f5
Avoid out-of-bounds reads in parallel btree scans with array keys.
nathan-bossart Nov 9, 2026
2cea5a0
Reject more unsafe names in extension script substitutions.
nathan-bossart Nov 9, 2026
06a6e8e
Sync files with PG19(Reject more unsafe names in extension script sub…
hs-liuxh Nov 18, 2026
4ced10e
Make \restrict keys protective in pg_dump --format=tar restore.sql.
nmisch Nov 9, 2026
55bf4f5
Replace typcache.c's buggy in_progress_list.
robertmhaas Nov 9, 2026
c3589c1
Reject pseudo-types in extended statistics expressions.
MasahikoSawada Nov 9, 2026
d2539b1
Sync files with PG19(Reject pseudo-types in extended statistics expre…
hs-liuxh Nov 18, 2026
cca0d0b
Reject system catalogs as logical replication targets.
MasahikoSawada Nov 9, 2026
b7dedea
Fix use-after-free in pg_show_all_settings().
MasahikoSawada Nov 9, 2026
688fb35
dblink: Refuse to use a connection that a dblink call is already using.
MasahikoSawada Nov 9, 2026
509ac51
Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in use
hlinnaka Nov 9, 2026
49c99b2
Sync files with PG19(Allow SET LOGGED/UNLOGGED and changing AM when t…
hs-liuxh Nov 18, 2026
3c56b85
Add tests for find_composite_type_dependencies() bugs
hlinnaka Nov 9, 2026
60fd95a
Sync files with PG19(Add tests for find_composite_type_dependencies()…
hs-liuxh Nov 18, 2026
98f119b
Split find_composite_type_dependencies() into smaller functions
hlinnaka Nov 9, 2026
af55a2d
Avoid visiting a type twice in find_composite_type_dependencies()
hlinnaka Nov 9, 2026
30685a9
Sync files with PG19(Avoid visiting a type twice in find_composite_ty…
hs-liuxh Nov 18, 2026
9ca30aa
Forbid ALTERing column type by default when other objects depend on it
hlinnaka Nov 9, 2026
ae18cb2
Sync files with PG19(Forbid ALTERing column type by default when othe…
hs-liuxh Nov 18, 2026
ad8f1a1
Check for Consts in function DEFAULTs and body
hlinnaka Nov 9, 2026
8a3bdfb
Sync files with PG19(Check for Consts in function DEFAULTs and body)
hs-liuxh Nov 18, 2026
bd632df
Check for Consts in constraint definitions
hlinnaka Nov 9, 2026
93f8ae6
Sync files with PG19(Check for Consts in constraint definitions)
hs-liuxh Nov 18, 2026
2b7571f
Check for Consts in domain DEFAULTs
hlinnaka Nov 9, 2026
5388f2d
Sync files with PG19(Check for Consts in domain DEFAULTs)
hs-liuxh Nov 18, 2026
2a71958
Check relation dependencies more carefully
hlinnaka Nov 9, 2026
eac0a8d
Sync files with PG19(Check relation dependencies more carefully)
hs-liuxh Nov 18, 2026
99db8bf
Forbid changing type if the rowtype is used in a foreign table
hlinnaka Nov 9, 2026
3b4ba2d
Check for missing dependencies on types
hlinnaka Nov 9, 2026
e235e91
Sync files with PG19(Check for missing dependencies on types)
hs-liuxh Nov 18, 2026
118f91f
Start to record type dependencies on index expressions et al
hlinnaka Nov 9, 2026
ce51609
Sync files with PG19(Start to record type dependencies on index expre…
hs-liuxh Nov 18, 2026
88d762d
Prevent ALTERing a row type that's concurrently used in a column
hlinnaka Nov 9, 2026
7be1b42
Sync files with PG19(Prevent ALTERing a row type that's concurrently …
hs-liuxh Nov 18, 2026
35b3392
Fix sync error: force view invalidation for concurrently created views
hs-liuxh Nov 18, 2026
cea2975
Lock affected rowtype and dependent types on ALTER ATTRIBUTE
hlinnaka Nov 9, 2026
594186a
Sync files with PG19(Lock affected rowtype and dependent types on ALT…
hs-liuxh Nov 18, 2026
25b4b72
Fix race condition adding a DEFAULT expression to a function
hlinnaka Nov 9, 2026
a55fd2c
Sync files with PG19(Fix race condition adding a DEFAULT expression t…
hs-liuxh Nov 18, 2026
27ebeb8
Check ON CONFLICT target row against RLS policies before user quals.
petergeoghegan Nov 9, 2026
0c6c6ab
Sync files with PG19(Check ON CONFLICT target row against RLS policie…
hs-liuxh Nov 18, 2026
470fa81
Validate all connection options before using libpqsrv_connect*
jchampio Nov 9, 2026
846b021
Sync files with PG19(Validate all connection options before using lib…
hs-liuxh Nov 18, 2026
23da287
Teach equalRowTypes() to safely handle dropped columns.
petergeoghegan Nov 9, 2026
7fd9b9d
Avoid using a dangling pointer in expanded-record domain checks.
tglsfdc Nov 9, 2026
d67b969
plpgsql: recheck record field's type after casting value.
tglsfdc Nov 9, 2026
f93ff57
Sync files with PG19(plpgsql: recheck record field's type after casti…
hs-liuxh Nov 18, 2026
b69d6f2
Reject pseudo-type output parameters in SQL functions.
petergeoghegan Nov 9, 2026
2c00543
Sync files with PG19(Reject pseudo-type output parameters in SQL func…
hs-liuxh Nov 18, 2026
53a71c7
Protect against miscalculation of tuple sizes via int32 overflow
alvherre Nov 9, 2026
e58ad45
Enforce view row visibility for INSERT ... ON CONFLICT target rows.
petergeoghegan Nov 9, 2026
ec5b131
Sync files with PG19(Enforce view row visibility for INSERT ... ON CO…
hs-liuxh Nov 18, 2026
c5526da
Close portals at end of trigger functions with transition tables.
jeff-davis Nov 9, 2026
0b7b3d0
Align REASSIGN OWNED caller-privilege checks with ALTER ... OWNER TO.
nmisch Nov 9, 2026
b74efda
Sync files with PG19(Align REASSIGN OWNED caller-privilege checks wit…
hs-liuxh Nov 18, 2026
1eeeb4b
Fix type confusion with materialized set-returning functions
robertmhaas Nov 9, 2026
dc2ae4d
Sync files with PG19(Fix type confusion with materialized set-returni…
hs-liuxh Nov 18, 2026
71829f2
Harden some allocations against integer wraparound
alvherre Nov 9, 2026
a552056
plpgsql: Expand test coverage of assignments
anarazel Nov 9, 2026
6558da2
Expand EPQ test coverage
anarazel Nov 9, 2026
32b7a72
Sync files with PG19(Expand EPQ test coverage)
hs-liuxh Nov 18, 2026
fdc4a7a
Fix regression test failures caused by syncing PG19 commits.
hs-liuxh Nov 18, 2026
16a0136
Add test for NOT NULL differing across partition hierarchy
anarazel Nov 9, 2026
08b0631
Sync files with PG19(Add test for NOT NULL differing across partition…
hs-liuxh Nov 18, 2026
e56630d
Add some very basic tests for make_expanded_record_from_datum()
anarazel Nov 9, 2026
59c2866
Sync files with PG19(Add some very basic tests for make_expanded_reco…
hs-liuxh Nov 18, 2026
9380945
Expand ALTER TABLE related tests
anarazel Nov 9, 2026
1862b24
Sync files with PG19(Expand ALTER TABLE related tests)
hs-liuxh Nov 18, 2026
131df42
Add tests for row type changes causing issues
anarazel Nov 9, 2026
fce127a
Sync files with PG19(Add tests for row type changes causing issues)
hs-liuxh Nov 18, 2026
66436d5
plpgsql: Check compatibility of source/target ERHs
anarazel Nov 9, 2026
9ee544e
Sync files with PG19(plpgsql: Check compatibility of source/target ERHs)
hs-liuxh Nov 18, 2026
e1f967a
Always acquire expanded record descriptors early
anarazel Nov 9, 2026
482c325
Sync files with PG19(Always acquire expanded record descriptors early)
hs-liuxh Nov 18, 2026
2865ba9
Introduce attribute versioning to prevent unsafe deforming
anarazel Nov 9, 2026
d421c5a
Sync files with PG19(Introduce attribute versioning to prevent unsafe…
hs-liuxh Nov 18, 2026
4cfbd1b
Add attribute versioning specific tests
anarazel Nov 9, 2026
6f7a53d
Sync files with PG19(Add attribute versioning specific tests)
hs-liuxh Nov 18, 2026
8a8e142
Fix regression test failures caused by syncing PG19 commits.
hs-liuxh Nov 18, 2026
1fe99f5
Add checks for cross-rowtype deforming and conversions
anarazel Nov 9, 2026
ccacfcb
Sync files with PG19(Add checks for cross-rowtype deforming and conve…
hs-liuxh Nov 18, 2026
0e504c2
Work around broken TimescaleDB code
anarazel Nov 9, 2026
0bd3223
Update .abi-compliance-history for attribute versioning changes.
tglsfdc Nov 9, 2026
84d5993
Last-minute updates for release notes.
tglsfdc Nov 9, 2026
f9e9c1c
Stamp 18.7.
tglsfdc Nov 9, 2026
a97f000
Stamp IvorySQL 5.7
hs-liuxh Nov 19, 2026
f338dbf
Merge remote-tracking branch 'ivory/IVORY_REL_5_STABLE' into ivorysql…
hs-liuxh Nov 19, 2026
6f8348d
Fix test failure for merging
hs-liuxh Nov 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 70 additions & 0 deletions .abi-compliance-history
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,76 @@
# Be sure to replace "<ADD JUSTIFICATION HERE>" with details of your change and
# why it is deemed acceptable.

cfdd09589b9f19fbc78c244e7868f1af46c460b8
#
# Introduce attribute versioning to prevent unsafe deforming
# 2026-11-09 06:20:44 -0800
#
# This commit adds a new GUC, which is fine, and a new pg_proc entry,
# which is less fine but the alternatives are worse. Fortunately the
# new function is only needed in pg_upgrade's target installation,
# which should have it if it's freshly initdb'd.

5b730e81fbdfd36ed45473770676ab3f88c776db
#
# Fix reuse of stale hash tables by duplicated hashed SubPlans
# 2026-11-02 14:38:32 +0900
#
# SubPlanState gains a bool field in existing alignment padding, so
# existing member offsets and sizeof(SubPlanState) remain unchanged.

57193b3a09ed3555e9c6e3822173427a3249b335
#
# Fix EPQ run-time pruning using the parent's PARAM_EXEC values
# 2026-10-15 15:50:11 +1300
#
# Removes "initialized" field that was added in c7328770b and restores the ABI
# state to what it was in c7328770b~1

5eae2800a854cd60e973b576fd9dac9db299dfd1
#
# Reorderbuffer: handle catalog-change-bearing aborted subxacts better
# 2026-10-14 19:42:04 +0200
#
# ReorderBufferAddNewTupleCids()'s signature changes and struct
# ReorderBufferChange gains a field, but no known third-party calls the
# former or constructs the latter.

c7328770ba50f6250930cb023effe3354c49de32
#
# Fix incorrect reinit of run-time pruning for EPQ rechecks
# 2026-10-09 11:04:22 +1300
#
# Introduces a new boolean field into padding bytes of PartitionPruningData.
# This change was removed later in 57193b3a0, as another issue was discovered
# that made this fix inadequate.

af48a67026145bd02fa953524fcdb0d84c1d9de6
#
# Fix tuple search during apply after concurrent index DDL.
# 2026-09-28 06:57:50 -0400
#
# LogicalRepRelMapEntry gains a bool field in existing alignment padding,
# so existing member offsets and sizeof(LogicalRepRelMapEntry) remain unchanged.

937a0e68cb55ac38341f242cf3302906e6e2ec42
#
# Fix parallel GIN index build with keys larger than 65535 bytes
# 2026-09-14 16:47:51 +0200
#
# The modified type is only used internally and transiently.

9f25197bf27c4c4a02d754842bc4055d83be735b
#
# Perform join removal by editing the query's jointree.
# 2026-08-28 15:12:26 -0400
#
# remove_useless_joins (now remove_useless_outer_joins),
# reduce_unique_semijoins, and remove_useless_self_joins have changed
# behavior and return types. I am unaware of any impacted third-party
# code; if there is any, it is probably vulnerable to the same bugs this
# patch is fixing.

2780538433fc3b40b4e1e7bc7cbd350e37b6d550
#
# Check for USAGE privilege on types used by stored expressions.
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for PostgreSQL 18.6.
# Generated by GNU Autoconf 2.69 for PostgreSQL 18.7.
#
# Report bugs to <pgsql-bugs@lists.postgresql.org>.
#
Expand Down Expand Up @@ -583,8 +583,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='18.6'
PACKAGE_STRING='PostgreSQL 18.6'
PACKAGE_VERSION='18.7'
PACKAGE_STRING='PostgreSQL 18.7'
PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
PACKAGE_URL='https://www.postgresql.org/'

Expand Down Expand Up @@ -1473,7 +1473,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures PostgreSQL 18.6 to adapt to many kinds of systems.
\`configure' configures PostgreSQL 18.7 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1538,7 +1538,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of PostgreSQL 18.6:";;
short | recursive ) echo "Configuration of PostgreSQL 18.7:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1733,7 +1733,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
PostgreSQL configure 18.6
PostgreSQL configure 18.7
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2486,7 +2486,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL $as_me 18.6, which was
It was created by PostgreSQL $as_me 18.7, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -19735,7 +19735,7 @@ else
fi

# IvorySQL version
PACKAGE_IVORYSQL_VERSION='5.6'
PACKAGE_IVORYSQL_VERSION='5.7'

cat >>confdefs.h <<_ACEOF
#define PACKAGE_IVORYSQL_VERSION "$PACKAGE_IVORYSQL_VERSION"
Expand Down Expand Up @@ -20336,7 +20336,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by PostgreSQL $as_me 18.6, which was
This file was extended by PostgreSQL $as_me 18.7, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -20407,7 +20407,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
PostgreSQL config.status 18.6
PostgreSQL config.status 18.7
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
dnl
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros

AC_INIT([PostgreSQL], [18.6], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
AC_INIT([PostgreSQL], [18.7], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])

m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
Untested combinations of 'autoconf' and PostgreSQL versions are not
Expand All @@ -31,7 +31,7 @@ AC_PREFIX_DEFAULT(/usr/local/pgsql)
AC_DEFINE_UNQUOTED(CONFIGURE_ARGS, ["$ac_configure_args"], [Saved arguments from configure])

# IvorySQL version
PACKAGE_IVORYSQL_VERSION='5.6'
PACKAGE_IVORYSQL_VERSION='5.7'

[PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
[PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
Expand Down
7 changes: 7 additions & 0 deletions contrib/amcheck/verify_heapam.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,13 @@ check_tuple_header(HeapCheckContext *ctx)
*/
}

if (HeapTupleHeaderIsDatum(ctx->tuphdr))
{
report_corruption(ctx,
pstrdup("tuple marked as datum tuple in table"));
/* Here again, we can still perform further checks. */
}

if (!TransactionIdIsValid(curr_xmax) &&
HeapTupleHeaderIsHotUpdated(tuphdr))
{
Expand Down
17 changes: 1 addition & 16 deletions contrib/amcheck/verify_nbtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "verify_common.h"
#include "catalog/index.h"
#include "catalog/pg_am.h"
#include "catalog/pg_opfamily_d.h"
#include "common/pg_prng.h"
#include "lib/bloomfilter.h"
#include "miscadmin.h"
Expand Down Expand Up @@ -329,24 +328,10 @@ bt_index_check_callback(Relation indrel, Relation heaprel, void *state, bool rea
errmsg("index \"%s\" metapage has equalimage field set on unsupported nbtree version",
RelationGetRelationName(indrel))));
if (allequalimage && !_bt_allequalimage(indrel, false))
{
bool has_interval_ops = false;

for (int i = 0; i < IndexRelationGetNumberOfKeyAttributes(indrel); i++)
if (indrel->rd_opfamily[i] == INTERVAL_BTREE_FAM_OID)
{
has_interval_ops = true;
break;
}

ereport(ERROR,
(errcode(ERRCODE_INDEX_CORRUPTED),
errmsg("index \"%s\" metapage incorrectly indicates that deduplication is safe",
RelationGetRelationName(indrel)),
has_interval_ops
? errhint("This is known of \"interval\" indexes last built on a version predating 2023-11.")
: 0));
}
RelationGetRelationName(indrel))));

/* Check index, possibly against table it is an index on */
bt_check_every_level(indrel, heaprel, heapkeyspace, readonly,
Expand Down
Loading
Loading