Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
aa38434
Refactor routines for name lookups of procedures and operators
michaelpq Jul 6, 2020
321fa6a
doc: Add note about possible performance overhead by enabling track_p…
MasaoFujii Jul 6, 2020
bae9e8a
Fix typo in test
petere Jul 6, 2020
f7f70d5
Create composite array types for initdb-created relations.
tglsfdc Jul 6, 2020
28c16f4
Remove unnecessary PageIsEmpty() nbtree build check.
petergeoghegan Jul 6, 2020
71ec58e
Resolve gratuitous tabs in test SQL file
petere Jul 7, 2020
6a5c750
Check ssl_in_use flag when reporting statistics
mhagander Jul 7, 2020
a8aaa0c
Morph pg_replication_slots.min_safe_lsn to safe_wal_size
alvherre Jul 7, 2020
f3faf35
Don't create pg_type entries for sequences or toast tables.
tglsfdc Jul 7, 2020
3f96af4
Un-break pg_upgrade from pre-v12 servers.
tglsfdc Jul 7, 2020
d92be26
doc: Fix inconsistencies in GIN, BRIN and SP-GiST for optional opclas…
michaelpq Jul 8, 2020
5e574d1
Fix function name in comment.
MasaoFujii Jul 8, 2020
98f0eba
Fix typo
mhagander Jul 8, 2020
eb2c8a8
Remove junk in test file
petere Jul 8, 2020
654242f
Fix incorrect variable datatype.
MasaoFujii Jul 8, 2020
1c4e88e
Add test coverage for pg_current_logfile() function.
tglsfdc Jul 8, 2020
2661a79
Don't treat DumpOptions->dump_inserts like a boolean
alvherre Jul 8, 2020
229f8c2
tap tests: replace 'master' with 'primary'.
anarazel Jun 14, 2020
5e7bbb5
code: replace 'master' with 'primary' where appropriate.
anarazel Jun 14, 2020
e076336
code: replace 'master' with 'leader' where appropriate.
anarazel Jun 14, 2020
9e101cf
docs: replace 'master' with 'primary' where appropriate.
anarazel Jun 15, 2020
09dfd43
docs: replace 'master' with 'root' where appropriate.
anarazel Jun 15, 2020
7c89f8a
docs: replace 'master process' with 'supervisor process' where approp…
anarazel Jun 15, 2020
a9a4a7a
code: replace most remaining uses of 'master'.
anarazel Jun 15, 2020
2b7dbc0
Fix whitespace in HashAgg EXPLAIN ANALYZE
david-rowley Jul 8, 2020
91bdf49
Tighten up Windows CRLF conversion in our TAP test scripts.
tglsfdc Jul 9, 2020
a5cd704
doc: Correct the description about the length of pg_stat_activity.query.
MasaoFujii Jul 9, 2020
991c444
pg_dump: Further reorganize getTableAttrs()
petere Jul 9, 2020
ffb4cee
Further tighten Windows CRLF conversion in our TAP test scripts.
tglsfdc Jul 9, 2020
183926d
Fix pg_current_logfile() to not emit a carriage return on Windows.
tglsfdc Jul 9, 2020
986529c
Remove WARNING message from brin_desummarize_range
alvherre Jul 10, 2020
ff61359
Log the location field before any backtrace
petere Jul 10, 2020
61be85a
Revert "Remove reset of testtablespace from pg_regress on Windows"
michaelpq Jul 10, 2020
72a16cb
Add missing <application> tags in application doc <refentrytitle>s
petere Jul 10, 2020
e91cd95
Doc: update or remove dead external links.
tglsfdc Jul 10, 2020
0657181
Improve error reporting for jsonpath .double() method
akorotkov Jul 11, 2020
df64650
Forbid numeric NaN in jsonpath
akorotkov Jul 11, 2020
cc35d89
Rename field "relkind" to "objtype" for CTAS and ALTER TABLE nodes
michaelpq Jul 11, 2020
64fe120
doc: Add link from pg_dump --encoding to supported encodings
petere Jul 11, 2020
ea91253
Avoid trying to restore table ACLs and per-column ACLs in parallel.
tglsfdc Jul 11, 2020
cd22d3c
Avoid useless buffer allocations during binary COPY FROM.
tglsfdc Jul 11, 2020
b1e48bb
Include replication origins in SQL functions for commit timestamp
michaelpq Jul 12, 2020
ea3e15d
Fix test failure with -DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS
michaelpq Jul 12, 2020
5bfe6a3
Fix timestamp range handling in regression tests of modules/commit_ts/
michaelpq Jul 13, 2020
d973747
Revert "Track statistics for spilling of changes from ReorderBuffer".
Jul 13, 2020
0babd10
Revert "Use CP_SMALL_TLIST for hash aggregate"
jeff-davis Jul 12, 2020
2302302
HashAgg: before spilling tuples, set unneeded columns to NULL.
jeff-davis Jul 13, 2020
8d2ed66
Improvements to psql \dAo and \dAp commands
akorotkov Jul 11, 2020
25fe5ac
Fix bugs in libpq's management of GSS encryption state.
tglsfdc Jul 13, 2020
b5b4c0f
Fix uninitialized value in segno calculation
alvherre Jul 13, 2020
a742ecf
Cope with lateral references in the quals of a subquery RTE.
tglsfdc Jul 14, 2020
9168793
Fix comments related to table AMs
michaelpq Jul 14, 2020
b8401c3
Fix some header identifications
michaelpq Jul 14, 2020
f1fcf2d
Fix timing issue with ALTER TABLE's validate constraint
david-rowley Jul 14, 2020
101f903
Add comment to explain an unused function parameter
david-rowley Jul 14, 2020
de8feb1
Fix -Wcast-function-type warnings
petere Jul 14, 2020
689696c
Fix bitmap AND/OR scans on the inside of a nestloop partition-wise join.
tglsfdc Jul 14, 2020
2a10fdc
Eliminate cache lookup errors in SQL functions for object addresses
michaelpq Jul 15, 2020
e949137
Fix compilation failure with sepgsql
michaelpq Jul 15, 2020
1d09fb1
Fix handling of missing files when using pg_rewind with online source
michaelpq Jul 15, 2020
ed2c7f6
pg_dump: Reorganize dumpFunc() and dumpAgg()
petere Jul 15, 2020
932f9fb
Switch pg_test_fsync to use binary mode on Windows
michaelpq Jul 16, 2020
d66b23b
Enable almost all TAP tests involving symlinks on Windows
adunstan Jul 16, 2020
d2bddc2
Add huge_page_size setting for use on Linux.
macdice Jul 17, 2020
cdc7169
Use MinimalTuple for tuple queues.
macdice Jul 17, 2020
01160a3
Fix signal handler setup for SIGHUP in the apply launcher process.
Jul 17, 2020
44f3436
Resolve gratuitous tabs in SQL file
petere Jul 17, 2020
20ef355
Fix whitespace
petere Jul 17, 2020
7fe3083
Ensure that distributed timezone abbreviation files are plain ASCII.
tglsfdc Jul 17, 2020
5da8bf8
Avoid CREATE INDEX unique index deduplication.
petergeoghegan Jul 17, 2020
a8d0732
Remove manual tracking of file position in pg_dump/pg_backup_custom.c.
tglsfdc Jul 17, 2020
f009591
Cope with data-offset-less archive files during out-of-order restores.
tglsfdc Jul 17, 2020
1e0dfd1
Add Valgrind buffer access instrumentation.
petergeoghegan Jul 18, 2020
564ce62
Rename "hash_mem" local variable.
petergeoghegan Jul 18, 2020
b74d449
doc: Fix description of \copy for psql
michaelpq Jul 18, 2020
df7c5cb
Fix comments in reorderbuffer.c.
Jul 18, 2020
f41fbee
Adjust minor comment in reorderbuffer.c.
Jul 18, 2020
9add405
doc: Refresh more URLs in the docs
michaelpq Jul 18, 2020
9de77b5
Allow logical replication to transfer data in binary format.
tglsfdc Jul 18, 2020
9b14280
Fix replication/worker_internal.h to compile without other headers.
tglsfdc Jul 18, 2020
4d3db13
Define OPENSSL_API_COMPAT
petere Jul 19, 2020
72eab84
Correctly mark pg_subscription.subslotname as nullable.
tglsfdc Jul 19, 2020
46ef520
Mark buffers as defined to Valgrind consistently.
petergeoghegan Jul 19, 2020
a766d6c
Avoid harmless Valgrind no-buffer-pin errors.
petergeoghegan Jul 19, 2020
044dc7b
Fix minor typo in nodeIncrementalSort.c.
Jul 20, 2020
d05b172
Add generic_plans and custom_plans fields into pg_prepared_statements.
MasaoFujii Jul 20, 2020
0bead9a
Immediately WAL-log subtransaction and top-level XID association.
Jul 20, 2020
c3fe108
Rename wal_keep_segments to wal_keep_size.
MasaoFujii Jul 20, 2020
d98c08c
Update btree_gist extension for parallel query
akorotkov Jul 20, 2020
d5daae4
Fix construction of updated-columns bitmap in logical replication.
tglsfdc Jul 20, 2020
0fa0b48
Correctly mark pg_subscription_rel.srsublsn as nullable.
tglsfdc Jul 20, 2020
6ca7cd8
Assert that buffer is pinned in LockBuffer().
petergeoghegan Jul 20, 2020
4fb6aeb
Make floating-point "NaN / 0" return NaN instead of raising an error.
tglsfdc Jul 20, 2020
a4faef8
Fix some corner cases for window ranges with infinite offsets.
tglsfdc Jul 21, 2020
c273d9d
Rework tab completion of COPY and \copy in psql
michaelpq Jul 21, 2020
3e66019
Assert that we don't insert nulls into attnotnull catalog columns.
tglsfdc Jul 21, 2020
fc032be
Be more careful about marking catalog columns NOT NULL by default.
tglsfdc Jul 21, 2020
a0b2d58
Minor glossary tweaks
alvherre Jul 21, 2020
606c384
Glossary: Add term "base backup"
alvherre Jul 21, 2020
670c0a1
Weaken type-OID-matching checks in array_recv and record_recv.
tglsfdc Jul 21, 2020
4a70f82
Add nbtree Valgrind buffer lock checks.
petergeoghegan Jul 21, 2020
bd0d893
neqjoinsel must now pass through collation to eqjoinsel.
tglsfdc Jul 21, 2020
e47c260
Fix comment in sha2.h
michaelpq Jul 22, 2020
a507387
Fix conversion table generator scripts.
macdice Jul 22, 2020
9e10898
Fix corner case with PGP decompression in pgcrypto
michaelpq Jul 22, 2020
a57d312
Support infinity and -infinity in the numeric data type.
tglsfdc Jul 22, 2020
38f60f1
Revert "Fix corner case with PGP decompression in pgcrypto"
michaelpq Jul 22, 2020
c55040c
WAL Log invalidations at command end with wal_level=logical.
Jul 23, 2020
42dee8b
Fix error message.
macdice Jul 23, 2020
5733fa0
doc: Document that ssl_ciphers does not affect TLS 1.3
petere Jul 23, 2020
b9b6105
Fix ancient violation of zlib's API spec.
tglsfdc Jul 23, 2020
25244b8
Rename configure.in to configure.ac
petere Jul 24, 2020
2f2007f
Fix assorted bugs by changing TS_execute's callback API to ternary lo…
tglsfdc Jul 24, 2020
79d6d1a
Replace TS_execute's TS_EXEC_CALC_NOT flag with TS_EXEC_SKIP_NOT.
tglsfdc Jul 24, 2020
2a24942
Fix buffer usage stats for nodes above Gather Merge.
Jul 25, 2020
8a37951
Mark built-in coercion functions as leakproof where possible.
tglsfdc Jul 25, 2020
0a0727c
Improve performance of binary COPY FROM through better buffering.
tglsfdc Jul 25, 2020
ce4939f
Use RAND_poll() for seeding randomness after fork().
nmisch Jul 25, 2020
15e4419
Remove optimization for RAND_poll() failing.
nmisch Jul 25, 2020
11a68e4
Tweak behavior of pg_stat_activity.leader_pid
michaelpq Jul 26, 2020
56788d2
Allocate consecutive blocks during parallel seqscans
david-rowley Jul 26, 2020
200f610
Fix LookupTupleHashEntryHash() pipeline-stall issue.
jeff-davis Jul 26, 2020
e971357
Fix handling of structure for bytea data type in ECPG
michaelpq Jul 27, 2020
a3ab7a7
Fix corner case with 16kB-long decompression in pgcrypto, take 2
michaelpq Jul 27, 2020
bcbf944
Remove hashagg_avoid_disk_plan GUC.
petergeoghegan Jul 28, 2020
1383874
Fix some issues with step generation in partition pruning.
Jul 28, 2020
45fdc97
Extend the logical decoding output plugin API with stream methods.
Jul 28, 2020
d7c8576
Doc: Improve documentation for pg_jit_available()
david-rowley Jul 28, 2020
0e3e1c4
Make EXPLAIN ANALYZE of HashAgg more similar to Hash Join
david-rowley Jul 28, 2020
f36e820
Doc: Remove obsolete CREATE AGGREGATE note.
petergeoghegan Jul 28, 2020
b1d7912
Correct obsolete UNION hash aggs comment.
petergeoghegan Jul 29, 2020
c49c74d
Rename another "hash_mem" local variable.
petergeoghegan Jul 29, 2020
cb04ad4
Move syncscan.c to src/backend/access/common.
macdice Jul 29, 2020
f2130e7
Fix incorrect print format in json.c
michaelpq Jul 29, 2020
9878b64
HashAgg: use better cardinality estimate for recursive spilling.
jeff-davis Jul 29, 2020
b5310e4
Remove non-fast promotion.
MasaoFujii Jul 29, 2020
6023b7e
pg_stat_statements: track number of rows processed by some utility co…
MasaoFujii Jul 29, 2020
d6c08e2
Add hash_mem_multiplier GUC.
petergeoghegan Jul 29, 2020
3347c98
Use a long lived WaitEventSet for WaitLatch().
macdice Jul 30, 2020
e2d394d
Use WaitLatch() for condition variables.
macdice Jul 30, 2020
e7591fd
Introduce a WaitEventSet for the stats collector.
macdice Jul 30, 2020
903134f
doc: Mention index references in pg_inherits
michaelpq Jul 30, 2020
f1af75c
Include partitioned tables for tab completion of VACUUM in psql
michaelpq Jul 30, 2020
fd734f3
Use pg_bitutils for HyperLogLog.
jeff-davis Jul 30, 2020
cab2556
Doc: fix high availability solutions comparison.
tatsuo-ishii Jul 30, 2020
e3931d0
Use multi-inserts for pg_attribute and pg_shdepend
michaelpq Jul 31, 2020
c5315f4
Cache smgrnblocks() results in recovery.
macdice Jul 31, 2020
7b1110d
Fix comment in instrument.h
michaelpq Jul 31, 2020
84b1c63
Preallocate some DSM space at startup.
macdice Jul 31, 2020
7be0449
Fix compiler warning from Clang.
macdice Jul 31, 2020
78e73e8
Fix recently-introduced performance problem in ts_headline().
tglsfdc Jul 31, 2020
3d2376d
Fix oversight in ALTER TYPE: typmodin/typmodout must propagate to arr…
tglsfdc Jul 31, 2020
c79aed4
Restore lost amcheck TOAST test coverage.
petergeoghegan Jul 31, 2020
84c0e4b
Improve programmer docs for simplehash and dynahash.
macdice Aug 1, 2020
022350b
Minimize slot creation for multi-inserts of pg_shdepend
michaelpq Aug 1, 2020
e2b37d9
Use pg_pread() and pg_pwrite() in slru.c.
macdice Aug 1, 2020
9f96827
Invent "amadjustmembers" AM method for validating opclass members.
tglsfdc Aug 1, 2020
cd5e822
Change XID and mxact limits to warn at 40M and stop at 3M.
nmisch Aug 1, 2020
6ee3b5f
Use int64 instead of long in incremental sort code
david-rowley Aug 2, 2020
533020d
Fix minor issues in psql's new \dAc and related commands.
tglsfdc Aug 2, 2020
63e9aa6
Correct comment in simplehash.h.
macdice Aug 3, 2020
f44b9b6
Fix rare failure in LDAP tests.
macdice Aug 3, 2020
b8fdee7
Add %P to log_line_prefix for parallel group leader
michaelpq Aug 3, 2020
5f28b21
Fix behavior of ecpg's "EXEC SQL elif name".
tglsfdc Aug 3, 2020
eeb01e3
Doc: fix obsolete info about allowed range of TZ offsets in timetz.
tglsfdc Aug 3, 2020
9e49676
Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dAf.
tglsfdc Aug 3, 2020
a451b7d
Add nbtree page deletion assertion.
petergeoghegan Aug 3, 2020
9a9db08
Fix replica backward scan race condition.
petergeoghegan Aug 3, 2020
dd87799
Make new SSL TAP test for channel_binding more robust
michaelpq Aug 4, 2020
0f76294
Increase hard-wired timeout values in ecpg regression tests.
tglsfdc Aug 4, 2020
f47b5e1
Remove btree page items after page unlink
akorotkov Aug 4, 2020
7a980df
Fix matching of sub-partitions when a partitioned plan is stale.
tglsfdc Aug 5, 2020
a677535
doc: clarify "state" table reference in tutorial
bmomjian Aug 5, 2020
bab1500
Register llvm_shutdown using on_proc_exit, not before_shmem_exit.
robertmhaas Aug 6, 2020
d5e9652
Fix bogus EXPLAIN output for Hash Aggregate
david-rowley Aug 6, 2020
c254d8d
amcheck: Sanitize metapage's allequalimage field.
petergeoghegan Aug 6, 2020
3a3be80
Remove obsolete amcheck comment.
petergeoghegan Aug 6, 2020
199cec9
Fix yet another issue with step generation in partition pruning.
Aug 7, 2020
3df92bb
Rename nbtree split REDO routine variables.
petergeoghegan Aug 7, 2020
6f0b632
Support testing of cases where table schemas change after planning.
tglsfdc Aug 7, 2020
cea3d55
Remove PROC_IN_ANALYZE and derived flags
alvherre Aug 7, 2020
0a7d771
Make nbtree split REDO locking match original execution.
petergeoghegan Aug 7, 2020
7259736
Implement streaming mode in ReorderBuffer.
Aug 8, 2020
a13421c
Add some const decorations
petere Aug 8, 2020
82a0ba7
Fix the logical streaming test.
Aug 8, 2020
470687b
walsnd: Don't set waiting_for_ping_response spuriously
alvherre Aug 8, 2020
39132b7
Teach amcheck to verify sibling links in all cases.
petergeoghegan Aug 8, 2020
20e7e1f
Remove <@ from contrib/intarray's GiST operator classes.
tglsfdc Aug 8, 2020
1c164ef
Remove useless Assert.
tglsfdc Aug 9, 2020
1b9cde5
Check for fseeko() failure in pg_dump's _tarAddFile().
tglsfdc Aug 9, 2020
d129c07
Correct nbtree page split lock coupling comment.
petergeoghegan Aug 9, 2020
7eeb1d9
Make contrib modules' installation scripts more secure.
tglsfdc Aug 10, 2020
e078fb5
Move connect.h from fe_utils to src/include/common.
nmisch Aug 10, 2020
11da970
Empty search_path in logical replication apply worker and walsender.
nmisch Aug 10, 2020
cec57b1
Document clashes between logical replication and untrusted users.
nmisch Aug 10, 2020
1784f27
Replace remaining StrNCpy() by strlcpy()
petere Aug 10, 2020
1f75b45
Improve tab completion of REINDEX in psql
michaelpq Aug 11, 2020
fea10a6
Rename VariableCacheData.nextFullXid to nextXid.
anarazel Aug 11, 2020
3bd7f99
Track latest completed xid as a FullTransactionId.
anarazel Aug 12, 2020
3546cf8
Improve comments for postmaster.c's BackendList.
tglsfdc Aug 12, 2020
1f42d35
BRIN: Handle concurrent desummarization properly
alvherre Aug 12, 2020
dc7420c
snapshot scalability: Don't compute global horizons while building sn…
anarazel Aug 12, 2020
b8443ea
Fix out-of-date version reference, grammar.
anarazel Aug 13, 2020
a811ea5
Handle new HOT chains in index-build table scans
alvherre Aug 13, 2020
1f51c17
snapshot scalability: Move PGXACT->xmin back to PGPROC.
anarazel Aug 13, 2020
a9306f1
Doc: improve examples for json_populate_record() and related functions.
tglsfdc Aug 14, 2020
1f32136
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/
michaelpq Aug 14, 2020
5bdf694
Fix typo in test comment.
hlinnaka Aug 14, 2020
0038f94
Fix postmaster's behavior during smart shutdown.
tglsfdc Aug 14, 2020
914140e
Fix obsolete comment in xlogutils.c.
petergeoghegan Aug 14, 2020
2ba5b2d
pg_dump: fix dependencies on FKs to partitioned tables
alvherre Aug 14, 2020
941697c
snapshot scalability: Introduce dense array of in-progress xids.
anarazel Aug 14, 2020
5788e25
snapshot scalability: Move PGXACT->vacuumFlags to ProcGlobal->vacuumF…
anarazel Jul 15, 2020
73487a6
snapshot scalability: Move subxact info to ProcGlobal, remove PGXACT.
anarazel Aug 14, 2020
1e7629d
Be more careful about the shape of hashable subplan clauses.
tglsfdc Aug 15, 2020
b48cac3
Mark a few logical decoding related variables with PGDLLIMPORT.
Aug 15, 2020
bacda6a
Remove obsolete HAVE_BUGGY_SOLARIS_STRTOD
petere Aug 15, 2020
53095b5
Remove obsolete cygwin.h hack
petere Aug 15, 2020
d4d443b
Remove no-longer-usable hstore--1.0--1.1.sql update script.
tglsfdc Aug 15, 2020
566372b
Prevent concurrent SimpleLruTruncate() for any given SLRU.
nmisch Aug 15, 2020
db659a3
Doc: various improvements for pg_basebackup reference page.
tglsfdc Aug 15, 2020
676a9c3
Correct several behavior descriptions in comments.
nmisch Aug 16, 2020
49967da
Make vacuum a bit more verbose to debug BF failure.
anarazel Aug 16, 2020
f6661d3
Fix use of wrong index in ComputeXidHorizons().
anarazel Aug 16, 2020
b4f1639
doc: Fix description about bgwriter and checkpoint in HA section
michaelpq Aug 17, 2020
d7ec833
Fix printing last progress report line in client programs.
hlinnaka Aug 17, 2020
3941eb6
Make xact.h usable in frontend.
hlinnaka Aug 17, 2020
a28d731
Mark commit and abort WAL records with XLR_SPECIAL_REL_UPDATE.
hlinnaka Aug 17, 2020
22e75a3
Doc: fix description of UNION/CASE/etc type unification.
tglsfdc Aug 17, 2020
6e70443
Disable autovacuum for BRIN test table
alvherre Aug 17, 2020
adbe62d
Add PL/Sample to src/test/modules/
michaelpq Aug 18, 2020
51300b4
Fix use-after-release issue in PL/Sample
michaelpq Aug 18, 2020
623a9ba
snapshot scalability: cache snapshots using a xact completion counter.
anarazel Aug 18, 2020
7344782
Avoid non-constant format string argument to fprintf().
hlinnaka Aug 18, 2020
07f32fc
Fix race condition in snapshot caching when 2PC is used.
anarazel Aug 18, 2020
3e98c0b
Add pg_backend_memory_contexts system view.
MasaoFujii Aug 19, 2020
2072932
Suppress unnecessary RelabelType nodes in yet more cases.
tglsfdc Aug 19, 2020
1fe1f42
Acquire ProcArrayLock exclusively in ProcArrayClearTransaction.
anarazel Aug 20, 2020
0784c33
Revise REINDEX CONCURRENTLY recovery instructions
alvherre Aug 20, 2020
c62a0a4
Revert "Make vacuum a bit more verbose to debug BF failure."
anarazel Aug 20, 2020
8431d33
Fix a few typos in JIT comments and README
david-rowley Aug 20, 2020
d259afa
Fix typos in comments.
MasaoFujii Aug 21, 2020
7cf1cc5
Merge commit 'd259afa7365165760004c2fdbe2520a94ddf2600' into sync-14x…
RekGRpth May 4, 2026
4f78b6a
Resolve conflicts in the catversion.h (#2443)
KnightMurloc May 4, 2026
87d9e15
Resolve conflicts in the snapshot.h (#2447)
KnightMurloc May 6, 2026
4c3633b
Resolve conflicts src/backend/storage/lmgr/lwlocknames.txt (#2442)
KnightMurloc May 6, 2026
bae4245
Resolve conflicts in src/backend/commands/tablecmds.c (#2460)
silent-observer May 6, 2026
a732b1e
Resolve conflicts in src/backend/commands/opclasscmds.c (#2459)
silent-observer May 6, 2026
33bce61
Resolve conflicts in src/include/access/nbtree.h (#2448)
RekGRpth May 6, 2026
02a1c00
Resolve conflicts in configure.ac (#2440)
RekGRpth May 6, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion config/general.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# argument (other than "yes/no"), etc.
#
# The point of this implementation is to reduce code size and
# redundancy in configure.in and to improve robustness and consistency
# redundancy in configure.ac and to improve robustness and consistency
# in the option evaluation code.


Expand Down
97 changes: 96 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -5771,6 +5771,97 @@ if test x"$pgac_cv_prog_CXX_cxxflags__Wimplicit_fallthrough_3" = x"yes"; then
fi



{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wcast-function-type, for CFLAGS" >&5
$as_echo_n "checking whether ${CC} supports -Wcast-function-type, for CFLAGS... " >&6; }
if ${pgac_cv_prog_CC_cflags__Wcast_function_type+:} false; then :
$as_echo_n "(cached) " >&6
else
pgac_save_CFLAGS=$CFLAGS
pgac_save_CC=$CC
CC=${CC}
CFLAGS="${CFLAGS} -Wcast-function-type"
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

int
main ()
{

;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
pgac_cv_prog_CC_cflags__Wcast_function_type=yes
else
pgac_cv_prog_CC_cflags__Wcast_function_type=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="$pgac_save_CFLAGS"
CC="$pgac_save_CC"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wcast_function_type" >&5
$as_echo "$pgac_cv_prog_CC_cflags__Wcast_function_type" >&6; }
if test x"$pgac_cv_prog_CC_cflags__Wcast_function_type" = x"yes"; then
CFLAGS="${CFLAGS} -Wcast-function-type"
fi


{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wcast-function-type, for CXXFLAGS" >&5
$as_echo_n "checking whether ${CXX} supports -Wcast-function-type, for CXXFLAGS... " >&6; }
if ${pgac_cv_prog_CXX_cxxflags__Wcast_function_type+:} false; then :
$as_echo_n "(cached) " >&6
else
pgac_save_CXXFLAGS=$CXXFLAGS
pgac_save_CXX=$CXX
CXX=${CXX}
CXXFLAGS="${CXXFLAGS} -Wcast-function-type"
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
ac_cxx_werror_flag=yes
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

int
main ()
{

;
return 0;
}
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
pgac_cv_prog_CXX_cxxflags__Wcast_function_type=yes
else
pgac_cv_prog_CXX_cxxflags__Wcast_function_type=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_cxx_werror_flag=$ac_save_cxx_werror_flag
CXXFLAGS="$pgac_save_CXXFLAGS"
CXX="$pgac_save_CXX"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wcast_function_type" >&5
$as_echo "$pgac_cv_prog_CXX_cxxflags__Wcast_function_type" >&6; }
if test x"$pgac_cv_prog_CXX_cxxflags__Wcast_function_type" = x"yes"; then
CXXFLAGS="${CXXFLAGS} -Wcast-function-type"
fi


# This was included in -Wall/-Wformat in older GCC versions

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wformat-security, for CFLAGS" >&5
Expand Down Expand Up @@ -13786,7 +13877,11 @@ fi
fi

if test "$with_openssl" = yes ; then
if test "$PORTNAME" != "win32"; then
# Minimum required OpenSSL version is 1.0.1

$as_echo "#define OPENSSL_API_COMPAT 0x10001000L" >>confdefs.h

if test "$PORTNAME" != "win32"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; }
if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then :
Expand Down
9 changes: 7 additions & 2 deletions configure.in → configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl configure.in
dnl configure.ac
dnl
dnl Developers, please strive to achieve this order:
dnl
Expand All @@ -26,7 +26,7 @@ AC_SUBST(PG_PACKAGE_VERSION)

dnl m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
dnl Untested combinations of 'autoconf' and PostgreSQL versions are not
dnl recommended. You can remove the check from 'configure.in' but it is then
dnl recommended. You can remove the check from 'configure.ac' but it is then
dnl your responsibility whether the result works or not.])])
AC_COPYRIGHT([Copyright (c) 1996-2020, PostgreSQL Global Development Group])
AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
Expand Down Expand Up @@ -541,6 +541,8 @@ if test "$GCC" = yes -a "$ICC" = no; then
PGAC_PROG_CXX_CFLAGS_OPT([-Wmissing-format-attribute])
PGAC_PROG_CC_CFLAGS_OPT([-Wimplicit-fallthrough=3])
PGAC_PROG_CXX_CFLAGS_OPT([-Wimplicit-fallthrough=3])
PGAC_PROG_CC_CFLAGS_OPT([-Wcast-function-type])
PGAC_PROG_CXX_CFLAGS_OPT([-Wcast-function-type])
# This was included in -Wall/-Wformat in older GCC versions
PGAC_PROG_CC_CFLAGS_OPT([-Wformat-security])
PGAC_PROG_CXX_CFLAGS_OPT([-Wformat-security])
Expand Down Expand Up @@ -1437,6 +1439,9 @@ fi

if test "$with_openssl" = yes ; then
dnl Order matters!
# Minimum required OpenSSL version is 1.0.1
AC_DEFINE(OPENSSL_API_COMPAT, [0x10001000L],
[Define to the OpenSSL API version in use. This avoids deprecation warnings from newer OpenSSL versions.])
if test "$PORTNAME" != "win32"; then
AC_CHECK_LIB(crypto, CRYPTO_new_ex_data, [], [AC_MSG_ERROR([library 'crypto' is required for OpenSSL])])
AC_CHECK_LIB(ssl, SSL_new, [], [AC_MSG_ERROR([library 'ssl' is required for OpenSSL])])
Expand Down
4 changes: 2 additions & 2 deletions contrib/adminpack/expected/adminpack.out
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ SELECT pg_file_rename('test_file1', 'test_file2');
(1 row)

SELECT pg_read_file('test_file1'); -- not there
ERROR: could not stat file "test_file1": No such file or directory
ERROR: could not open file "test_file1" for reading: No such file or directory
SELECT pg_read_file('test_file2');
pg_read_file
--------------
Expand Down Expand Up @@ -108,7 +108,7 @@ SELECT pg_file_rename('test_file2', 'test_file3', 'test_file3_archive');
(1 row)

SELECT pg_read_file('test_file2'); -- not there
ERROR: could not stat file "test_file2": No such file or directory
ERROR: could not open file "test_file2" for reading: No such file or directory
SELECT pg_read_file('test_file3');
pg_read_file
--------------
Expand Down
16 changes: 12 additions & 4 deletions contrib/amcheck/expected/check_btree.out
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,19 @@ SELECT bt_index_parent_check('delete_test_table_pkey', true);
-- tuple. Bloom filter must fingerprint normalized index tuple representation.
--
CREATE TABLE toast_bug(buggy text);
ALTER TABLE toast_bug ALTER COLUMN buggy SET STORAGE plain;
-- pg_attribute entry for toasty.buggy will have plain storage:
CREATE INDEX toasty ON toast_bug(buggy);
-- Whereas pg_attribute entry for toast_bug.buggy now has extended storage:
ALTER TABLE toast_bug ALTER COLUMN buggy SET STORAGE extended;
CREATE INDEX toasty ON toast_bug(buggy);
-- pg_attribute entry for toasty.buggy (the index) will have plain storage:
UPDATE pg_attribute SET attstorage = 'p'
WHERE attrelid = 'toasty'::regclass AND attname = 'buggy';
-- Whereas pg_attribute entry for toast_bug.buggy (the table) still has extended storage:
SELECT attstorage FROM pg_attribute
WHERE attrelid = 'toast_bug'::regclass AND attname = 'buggy';
attstorage
------------
x
(1 row)

-- Insert compressible heap tuple (comfortably exceeds TOAST_TUPLE_THRESHOLD):
INSERT INTO toast_bug SELECT repeat('a', 2200);
-- Should not get false positive report of corruption:
Expand Down
14 changes: 10 additions & 4 deletions contrib/amcheck/sql/check_btree.sql
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,17 @@ SELECT bt_index_parent_check('delete_test_table_pkey', true);
-- tuple. Bloom filter must fingerprint normalized index tuple representation.
--
CREATE TABLE toast_bug(buggy text);
ALTER TABLE toast_bug ALTER COLUMN buggy SET STORAGE plain;
-- pg_attribute entry for toasty.buggy will have plain storage:
CREATE INDEX toasty ON toast_bug(buggy);
-- Whereas pg_attribute entry for toast_bug.buggy now has extended storage:
ALTER TABLE toast_bug ALTER COLUMN buggy SET STORAGE extended;
CREATE INDEX toasty ON toast_bug(buggy);

-- pg_attribute entry for toasty.buggy (the index) will have plain storage:
UPDATE pg_attribute SET attstorage = 'p'
WHERE attrelid = 'toasty'::regclass AND attname = 'buggy';

-- Whereas pg_attribute entry for toast_bug.buggy (the table) still has extended storage:
SELECT attstorage FROM pg_attribute
WHERE attrelid = 'toast_bug'::regclass AND attname = 'buggy';

-- Insert compressible heap tuple (comfortably exceeds TOAST_TUPLE_THRESHOLD):
INSERT INTO toast_bug SELECT repeat('a', 2200);
-- Should not get false positive report of corruption:
Expand Down
Loading