Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
c1ebef3
Compare collations before merging UNION operations.
tglsfdc Nov 19, 2024
6fc3c58
doc: Fix section of functions age(xid) and mxid_age(xid)
michaelpq Nov 20, 2024
fea81ae
Avoid assertion failure if a setop leaf query contains setops.
tglsfdc Nov 20, 2024
7eff313
doc: clarify that jsonb_path_match() returns an SQL boolean
bmomjian Nov 20, 2024
afe9b0d
Fix memory leak in pgoutput for the WAL sender
michaelpq Nov 21, 2024
e2b08a6
Fix outdated bit in README.tuplock
alvherre Nov 21, 2024
2fb3919
Fix newly introduced 010_keep_recycled_wals.pl
alvherre Nov 21, 2024
8a9a515
jit: Use -mno-outline-atomics for bitcode on ARM.
macdice Nov 22, 2024
e6d6f2e
psql: Include \pset xheader_width in --help=commands|variables
michaelpq Nov 22, 2024
9695835
Fix data loss when restarting the bulk_write facility
hlinnaka Nov 22, 2024
e3b249c
Make the memory layout of Port struct independent of USE_OPENSSL
hlinnaka Nov 22, 2024
1a52069
doc: Fix example with __next__() in PL/Python function
michaelpq Nov 25, 2024
5f46439
Doc: Clarify the `inactive_since` field description.
Nov 25, 2024
0813a5e
Assume that <stdbool.h> conforms to the C standard.
macdice Nov 25, 2024
f979197
Add support for Tcl 9
petere Nov 25, 2024
e266a0e
Update configure probes for CFLAGS needed for ARM CRC instructions.
tglsfdc Nov 25, 2024
aefbd6c
Clean up <stdbool.h> reference in meson.build.
macdice Nov 25, 2024
718af10
Avoid "you don't own a lock of type ExclusiveLock" in GRANT TABLESPACE.
nmisch Nov 25, 2024
97be02a
Fix NULLIF()'s handling of read-write expanded objects.
tglsfdc Nov 25, 2024
ad89c8b
Rename C23 keyword
petere Aug 13, 2024
f3834c1
Fix C23 compiler warning
petere Oct 22, 2024
b0e5728
Clean up newlines following left parentheses
alvherre Nov 26, 2024
e00c1e2
meson: Build pgevent as shared_module rather than shared_library
petere Nov 26, 2024
d77f912
Handle better implicit transaction state of pipeline mode
michaelpq Nov 27, 2024
3c1ab90
Exclude LLVM files from whitespace checks
petere Nov 27, 2024
7786717
Fix typo
petere Nov 27, 2024
6e79358
Fix pg_get_constraintdef for NOT NULL constraints on domains
alvherre Nov 27, 2024
adb103f
pgbench: Ensure previous progress message is fully cleared when updat…
MasaoFujii Nov 27, 2024
c93dffd
ci: Fix cached MacPorts installation management
anarazel Nov 27, 2024
7668e85
Revert "Handle better implicit transaction state of pipeline mode"
michaelpq Nov 28, 2024
4527b9e
psql: Add tab completion for COPY (MERGE ...
petere Nov 28, 2024
72822a9
Avoid mislabeling of lateral references when pulling up a subquery.
tglsfdc Nov 28, 2024
78883cd
Avoid mislabeling of lateral references, redux.
tglsfdc Nov 30, 2024
a963abd
Fix broken list-munging in ecpg's remove_variables().
tglsfdc Dec 1, 2024
d4ffbf4
RelationTruncate() must set DELAY_CHKPT_START.
macdice Dec 2, 2024
7a35052
doc: Clarify some terms for pg_createsubscriber
michaelpq Dec 3, 2024
5ffbbcf
Drop "Lock" suffix from LWLock wait event names
alvherre Dec 3, 2024
9abdc18
Fix synchronized_standby_slots GUC check hook
alvherre Dec 3, 2024
83ce20d
Fix use-after-free in parallel_vacuum_reset_dead_items
j-naylor Dec 4, 2024
c140c0f
doc: remove LC_COLLATE and LC_CTYPE from SHOW command
petere Dec 7, 2024
765f76d
Fix is_digit labeling of to_timestamp's FFn format codes.
tglsfdc Dec 7, 2024
5b44a31
Make getObjectDescription robust against dangling amproc type links.
tglsfdc Dec 7, 2024
ec7b89c
Ensure that pg_amop/amproc entries depend on their lefttype/righttype.
tglsfdc Dec 7, 2024
9d5ce4f
Fix possible crash during WindowAgg evaluation
david-rowley Dec 9, 2024
dc5f905
Fix invalidation of local pgstats references for entry reinitialization
michaelpq Dec 9, 2024
bb93b33
Improve comment about dropped entries in pgstat.c
michaelpq Dec 9, 2024
556f7b7
Simplify executor's determination of whether to use parallelism.
tglsfdc Dec 9, 2024
9add1bb
Fix small memory leaks in GUC checks
danielgustafsson Dec 9, 2024
f36fe5d
Doc: fix incorrect EXPLAIN ANALYZE output for bloom indexes
david-rowley Dec 9, 2024
a12b0f3
Include necessary header files in radixtree.h.
MasahikoSawada Dec 9, 2024
416d1bd
Fix outdated comment of scram_build_secret()
michaelpq Dec 10, 2024
67ef403
Fix comments of GUC hooks for timezone_abbreviations
michaelpq Dec 10, 2024
4bd9de3
Fix elog(FATAL) before PostmasterMain() or just after fork().
nmisch Dec 10, 2024
8afff7d
Improve reporting of pg_upgrade log files on test failure
michaelpq Dec 10, 2024
d09fbf6
Revert "Don't truncate database and user names in startup packets."
nathan-bossart Dec 12, 2024
ad950ea
Fix possible crash in pg_dump with identity sequences.
tglsfdc Dec 13, 2024
3652de3
contrib/earthdistance: Use SQL-standard function bodies.
tglsfdc Dec 14, 2024
87e16d6
doc: Clarify old WAL files are kept until they are summarized.
MasaoFujii Dec 15, 2024
ff9dc96
pgbench: fix misprocessing of some nested \if constructs.
tglsfdc Dec 15, 2024
d1253c6
Make 009_twophase.pl test pass with recovery_min_apply_delay set
hlinnaka Dec 16, 2024
f5dec4e
doc: Mention BRIN indexes support parallel builds
tvondra Dec 16, 2024
94e7e77
pg_combinebackup: Fix PITR comparison test in 002_compare_backups
michaelpq Dec 17, 2024
88baa27
Doc: Fix the wrong link on pg_createsubscriber page.
Dec 17, 2024
42eae25
Update comments about index parallel builds
tvondra Dec 17, 2024
3668c1d
Detect version mismatch in brin_page_items
tvondra Dec 17, 2024
18452b7
Accommodate very large dshash tables.
nathan-bossart Dec 17, 2024
04b8601
Fix memory leak in pg_restore with zstd-compressed data.
tglsfdc Dec 18, 2024
7b8d45d
Fix Assert failure in WITH RECURSIVE UNION queries
david-rowley Dec 19, 2024
9e85b20
Avoid nbtree index scan SAOP scanBehind confusion.
petergeoghegan Dec 19, 2024
0350b87
Fix corruption when relation truncation fails.
macdice Dec 20, 2024
7cfdb4d
Update TransactionXmin when MyProc->xmin is updated
hlinnaka Dec 21, 2024
bbe68c1
Fix memory leak in pgoutput with publication list cache
michaelpq Dec 23, 2024
89962bf
postgres_fdw: re-issue cancel requests a few times if necessary.
tglsfdc Dec 23, 2024
c80acbc
meson: Export all libcommon functions in Windows builds
hlinnaka Dec 25, 2024
d8b0c64
meson: Export all libcommon functions in Windows builds
hlinnaka Dec 25, 2024
fa61313
In REASSIGN OWNED of a database, lock the tuple as mandated.
nmisch Dec 28, 2024
a46311e
Try to avoid semaphore-related test failures on NetBSD/OpenBSD.
tglsfdc Dec 28, 2024
14141bb
Reserve a PGPROC slot and semaphore for the slotsync worker process.
tglsfdc Dec 28, 2024
15b4c46
Exclude parallel workers from connection privilege/limit checks.
tglsfdc Dec 28, 2024
03c46e1
Fix handling of orphaned 2PC files in the future at recovery
michaelpq Dec 29, 2024
c3de0f9
Fix failures with incorrect epoch handling for 2PC files at recovery
michaelpq Dec 30, 2024
8364354
Fix memory leak in pgoutput with relation attribute map
michaelpq Dec 30, 2024
7596207
Update copyright for 2025
bmomjian Jan 1, 2025
297b280
Ignore nullingrels when looking up statistics
Jan 2, 2025
591128f
Document strange jsonb sort order for empty top level arrays
adunstan Jan 3, 2025
e998901
Remove duplicate definitions in proc.h
hlinnaka Jan 6, 2025
d7905aa
Fix error message wording
alvherre Jan 7, 2025
e43537c
Use PqMsg_* macros in postgres.c.
nathan-bossart Jan 7, 2025
66aaabe
Restore smgrtruncate() prototype in back-branches.
macdice Jan 7, 2025
45aef9f
Fix C error reported by Oracle compiler.
macdice Jan 8, 2025
af109e3
Provide 64-bit ftruncate() and lseek() on Windows.
macdice Jan 8, 2025
faee318
Fix off_t overflow in pg_basebackup on Windows.
macdice Jan 9, 2025
ffd9b81
Fix SLRU bank selection code
alvherre Jan 9, 2025
c559f61
Fix an ALTER GROUP ... DROP USER error message.
nathan-bossart Jan 9, 2025
5db9367
Fix UNION planner datatype issue
david-rowley Jan 10, 2025
8ed9bf0
Fix missing ldapscheme option in pg_hba_file_rules()
danielgustafsson Jan 10, 2025
e98df02
Repair memory leaks in plpython.
tglsfdc Jan 11, 2025
61b1213
Fix XMLTABLE() deparsing to quote namespace names if necessary.
deanrasheed Jan 12, 2025
d037cc2
Fix JsonExpr deparsing to quote variable names in the PASSING clause.
deanrasheed Jan 12, 2025
dc24c9a
Fix HBA option count
danielgustafsson Jan 12, 2025
e027ee9
Fix potential integer overflow in bringetbitmap()
michaelpq Jan 14, 2025
96e61b2
Fix catcache invalidation of a list entry that's being built
hlinnaka Jan 14, 2025
ba2dbed
ecpg: Restore detection of unsupported COPY FROM STDIN.
MasaoFujii Jan 14, 2025
a0dfeae
Avoid symbol collisions between pqsignal.c and legacy-pqsignal.c.
tglsfdc Jan 14, 2025
149ed87
Move routines to manipulate WAL into PostgreSQL::Test::Cluster
michaelpq Jan 16, 2025
0671a71
Fix setrefs.c's failure to do expression processing on prune steps.
tglsfdc Jan 17, 2025
d1bf86a
Revert recent changes related to handling of 2PC files at recovery
michaelpq Jan 17, 2025
e6767c0
Fix header check for continuation records where standbys could be stuck
michaelpq Jan 20, 2025
44f400f
Fix latch event policy that hid socket events.
macdice Jan 20, 2025
b7bad91
Avoid using timezone Asia/Manila in regression tests.
tglsfdc Jan 20, 2025
e292ba3
Update time zone data files to tzdata release 2025a.
tglsfdc Jan 20, 2025
2f30847
Fix detach of a partition that has a toplevel FK to a partitioned table
alvherre Jan 21, 2025
dbc3499
Reword recent error messages: "should" -> "must"
alvherre Jan 21, 2025
2b72fed
Repair incorrect handling of AfterTriggerSharedData.ats_modifiedcols.
tglsfdc Jan 22, 2025
6c9a83f
Don't ask for bug reports about pthread_is_threaded_np() != 0.
tglsfdc Jan 23, 2025
24c5b73
meson: Fix sepgsql installation
petere Jan 24, 2025
50cd651
Use the correct sizeof() in BufFileLoadBuffer
tvondra Jan 24, 2025
76601c0
Doc: recommend "psql -X" for restoring pg_dump scripts.
tglsfdc Jan 25, 2025
3637905
Test ECPG decadd(), decdiv(), decmul(), and decsub() for risnull() in…
nmisch Jan 25, 2025
eca456e
Disable runningcheck for src/test/modules/injection_points/specs.
nmisch Jan 25, 2025
1587f7b
Merge copies of converting an XID to a FullTransactionId.
nmisch Jan 25, 2025
f4af451
At update of non-LP_NORMAL TID, fail instead of corrupting page header.
nmisch Jan 25, 2025
6555fe1
Revert "Speed up tail processing when hashing aligned C strings, take…
j-naylor Jan 29, 2025
0b713b9
Avoid breaking SJIS encoding while de-backslashing Windows paths.
tglsfdc Jan 29, 2025
6e41e9e
Handle default NULL insertion a little better.
tglsfdc Jan 29, 2025
1e25cdb
Avoid integer overflow while testing wal_skip_threshold condition.
tglsfdc Jan 30, 2025
f10676d
Fix comment of StrategySyncStart()
michaelpq Jan 31, 2025
0181d34
doc: Fix pg_buffercache_evict() title
danielgustafsson Jan 31, 2025
2548349
Mention jsonlog in description of logging_collector in GUC table
michaelpq Feb 2, 2025
8703cde
vacuumdb: Add missing PQfinish() calls to vacuum_one_database().
nathan-bossart Feb 4, 2025
1b8a953
pg_controldata: Fix possible errors on corrupted pg_control
akorotkov Feb 4, 2025
6a4815c
meson: Narrow dependencies for 'install-quiet' target
anarazel Feb 4, 2025
25cb776
meson: Improve dependencies for tmp_install test target
anarazel Feb 4, 2025
f52bc23
meson: Add pg_regress_ecpg to ecpg test dependencies
anarazel Feb 4, 2025
493398d
meson: Add test dependencies for test_json_parser
anarazel Feb 4, 2025
09df23c
meson: Add missing dependencies to libpq_pipeline test
anarazel Feb 4, 2025
73ed502
meson: Add missing dependencies for libpq tests
anarazel Feb 4, 2025
d38fd59
meson: ci: ensure tests are built before running them
anarazel Feb 4, 2025
32770ea
doc: Update links which returned 404
danielgustafsson Feb 5, 2025
9af2b34
radixtree: Fix crash when non-creator begins iteration over shared tree.
MasahikoSawada Feb 6, 2025
0951d4e
meson: Fix linking using old OpenSSL lib names
danielgustafsson Feb 7, 2025
572ec03
First-draft release notes for 17.3.
tglsfdc Feb 7, 2025
480acbb
Doc: clarify behavior of timestamptz input some more.
tglsfdc Feb 7, 2025
e35d396
Fix pgbench performance issue induced by commit af35fe501.
tglsfdc Feb 7, 2025
878635d
Release notes for 17.3, 16.7, 15.11, 14.16, 13.19.
tglsfdc Feb 9, 2025
439776b
Translation updates
petere Feb 10, 2025
7d43ca6
Add pg_encoding_set_invalid()
anarazel Feb 10, 2025
61ad93c
Specify the encoding of input to fmtId()
anarazel Feb 10, 2025
43a7723
Fix handling of invalidly encoded data in escaping functions
anarazel Feb 10, 2025
02d4d87
Add test of various escape functions
anarazel Feb 10, 2025
dd3c1eb
docs: EUC_TW can be up to four bytes wide, not three
anarazel Feb 10, 2025
05abb0f
Fix type in test_escape test
anarazel Feb 10, 2025
85c1fcc
Adapt appendPsqlMetaConnect() to the new fmtId() encoding expectations.
tglsfdc Feb 10, 2025
1ea6e89
Last-minute updates for release notes.
tglsfdc Feb 10, 2025
3819b30
Stamp 17.3.
tglsfdc Feb 10, 2025
4d3a722
Merge remote-tracking branch 'upstream/REL_17_STABLE' into alexk/pg-17-3
ololobus Feb 11, 2025
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
  •  
  •  
  •  
51 changes: 28 additions & 23 deletions .cirrus.tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ env:
CHECK: check-world PROVE_FLAGS=$PROVE_FLAGS
CHECKFLAGS: -Otarget
PROVE_FLAGS: --timer
# Build test dependencies as part of the build step, to see compiler
# errors/warnings in one place.
MBUILD_TARGET: all testprep
MTEST_ARGS: --print-errorlogs --no-rebuild -C build
PGCTLTIMEOUT: 120 # avoids spurious failures during parallel tests
TEMP_CONFIG: ${CIRRUS_WORKING_DIR}/src/tools/ci/pg_ci_base.conf
Expand Down Expand Up @@ -99,7 +102,7 @@ task:
EOF
build_script: |
su postgres <<-EOF
ninja -C build -j${BUILD_JOBS}
ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}
EOF
upload_caches: ccache

Expand Down Expand Up @@ -178,7 +181,7 @@ task:
-Dextra_lib_dirs=/usr/local/lib -Dextra_include_dirs=/usr/local/include/ \
build
EOF
build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS}'
build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}'
upload_caches: ccache

test_world_script: |
Expand Down Expand Up @@ -380,8 +383,8 @@ task:
build-32
EOF

build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS}'
build_32_script: su postgres -c 'ninja -C build-32 -j${BUILD_JOBS}'
build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}'
build_32_script: su postgres -c 'ninja -C build-32 -j${BUILD_JOBS} ${MBUILD_TARGET}'

upload_caches: ccache

Expand Down Expand Up @@ -426,6 +429,20 @@ task:
CCACHE_DIR: ${HOME}/ccache
MACPORTS_CACHE: ${HOME}/macports-cache

MACOS_PACKAGE_LIST: >-
ccache
icu
kerberos5
lz4
meson
openldap
openssl
p5.34-io-tty
p5.34-ipc-run
python312
tcl
zstd

CC: ccache cc
CXX: ccache c++
CFLAGS: -Og -ggdb
Expand Down Expand Up @@ -461,26 +478,14 @@ task:
macports_cache:
folder: ${MACPORTS_CACHE}
fingerprint_script: |
# Include the OS major version in the cache key. If the OS image changes
# to a different major version, we need to reinstall.
# Reinstall packages if the OS major version, the list of the packages
# to install or the MacPorts install script changes.
sw_vers -productVersion | sed 's/\..*//'
# Also start afresh if we change our MacPorts install script.
echo $MACOS_PACKAGE_LIST
md5 src/tools/ci/ci_macports_packages.sh
reupload_on_changes: true
setup_additional_packages_script: |
sh src/tools/ci/ci_macports_packages.sh \
ccache \
icu \
kerberos5 \
lz4 \
meson \
openldap \
openssl \
p5.34-io-tty \
p5.34-ipc-run \
python312 \
tcl \
zstd
sh src/tools/ci/ci_macports_packages.sh $MACOS_PACKAGE_LIST
# system python doesn't provide headers
sudo /opt/local/bin/port select python3 python312
# Make macports install visible for subsequent steps
Expand All @@ -500,7 +505,7 @@ task:
-DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
build

build_script: ninja -C build -j${BUILD_JOBS}
build_script: ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}
upload_caches: ccache

test_world_script: |
Expand Down Expand Up @@ -573,7 +578,7 @@ task:

build_script: |
vcvarsall x64
ninja -C build
ninja -C build %MBUILD_TARGET%

check_world_script: |
vcvarsall x64
Expand Down Expand Up @@ -631,7 +636,7 @@ task:
%BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Dinjection_points=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build"

build_script: |
%BASH% -c "ninja -C build"
%BASH% -c "ninja -C build ${MBUILD_TARGET}"

upload_caches: ccache

Expand Down
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ src/interfaces/ecpg/test/expected/* -whitespace
# These files are maintained or generated elsewhere. We take them as is.
configure -whitespace
ppport.h -whitespace
src/backend/jit/llvm/SectionMemoryManager.cpp -whitespace
src/backend/jit/llvm/SectionMemoryManager.LICENSE -whitespace
src/backend/regex/COPYRIGHT -whitespace
src/backend/snowball/libstemmer/*.c -whitespace
src/backend/utils/mb/Unicode/*-std.txt -whitespace
src/include/jit/SectionMemoryManager.h -whitespace
src/include/snowball/libstemmer/* -whitespace
src/timezone/data/* -whitespace
src/tools/pg_bsd_indent/* -whitespace
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)

Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group

Portions Copyright (c) 1994, The Regents of the University of California

Expand Down
Loading