Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
f286f64
Compare collations before merging UNION operations.
tglsfdc Nov 19, 2024
1c99d81
doc: Fix section of functions age(xid) and mxid_age(xid)
michaelpq Nov 20, 2024
fe08403
Avoid assertion failure if a setop leaf query contains setops.
tglsfdc Nov 20, 2024
e749eaf
Fix memory leak in pgoutput for the WAL sender
michaelpq Nov 21, 2024
aca1599
Fix outdated bit in README.tuplock
alvherre Nov 21, 2024
50010c6
Fix newly introduced 010_keep_recycled_wals.pl
alvherre Nov 21, 2024
6de14db
jit: Use -mno-outline-atomics for bitcode on ARM.
macdice Nov 22, 2024
4ecb136
psql: Include \pset xheader_width in --help=commands|variables
michaelpq Nov 22, 2024
ee3415c
doc: Fix example with __next__() in PL/Python function
michaelpq Nov 25, 2024
0f6d902
Assume that <stdbool.h> conforms to the C standard.
macdice Nov 25, 2024
07c7780
Add support for Tcl 9
petere Nov 25, 2024
1f4aade
Update configure probes for CFLAGS needed for ARM CRC instructions.
tglsfdc Nov 25, 2024
5609b47
Clean up <stdbool.h> reference in meson.build.
macdice Nov 25, 2024
c1285bb
Avoid "you don't own a lock of type ExclusiveLock" in GRANT TABLESPACE.
nmisch Nov 25, 2024
4aba56a
Fix NULLIF()'s handling of read-write expanded objects.
tglsfdc Nov 25, 2024
ae145d1
Rename C23 keyword
petere Aug 13, 2024
f7a929a
Fix C23 compiler warning
petere Oct 22, 2024
766b0b4
meson: Build pgevent as shared_module rather than shared_library
petere Nov 26, 2024
1250adf
Fix meson uuid header check so it works with MSVC
adunstan May 26, 2024
a8abd36
Handle better implicit transaction state of pipeline mode
michaelpq Nov 27, 2024
467df7f
Exclude LLVM files from whitespace checks
petere Nov 27, 2024
56265ed
Fix typo
petere Nov 27, 2024
1cf6469
pgbench: Ensure previous progress message is fully cleared when updat…
MasaoFujii Nov 27, 2024
c26831e
ci: Fix cached MacPorts installation management
anarazel Nov 27, 2024
7665313
Revert "Handle better implicit transaction state of pipeline mode"
michaelpq Nov 28, 2024
06d601e
Skip SectionMemoryManager.h in cpluspluscheck.
macdice Nov 28, 2024
85990e2
Avoid mislabeling of lateral references when pulling up a subquery.
tglsfdc Nov 28, 2024
7b456f0
Avoid mislabeling of lateral references, redux.
tglsfdc Nov 30, 2024
cca34f6
Fix broken list-munging in ecpg's remove_variables().
tglsfdc Dec 1, 2024
ad5aa7b
RelationTruncate() must set DELAY_CHKPT_START.
macdice Dec 2, 2024
ad48517
doc: remove LC_COLLATE and LC_CTYPE from SHOW command
petere Dec 7, 2024
26c233b
Fix is_digit labeling of to_timestamp's FFn format codes.
tglsfdc Dec 7, 2024
faad018
Make getObjectDescription robust against dangling amproc type links.
tglsfdc Dec 7, 2024
be5db08
Ensure that pg_amop/amproc entries depend on their lefttype/righttype.
tglsfdc Dec 7, 2024
c1d6506
Fix possible crash during WindowAgg evaluation
david-rowley Dec 9, 2024
ae77bcc
Fix invalidation of local pgstats references for entry reinitialization
michaelpq Dec 9, 2024
ec194b4
Improve comment about dropped entries in pgstat.c
michaelpq Dec 9, 2024
bb649b5
Simplify executor's determination of whether to use parallelism.
tglsfdc Dec 9, 2024
be9dac9
Fix small memory leaks in GUC checks
danielgustafsson Dec 9, 2024
b0a04ce
Doc: fix incorrect EXPLAIN ANALYZE output for bloom indexes
david-rowley Dec 9, 2024
8ac97ce
Fix outdated comment of scram_build_secret()
michaelpq Dec 10, 2024
f0672b6
Fix comments of GUC hooks for timezone_abbreviations
michaelpq Dec 10, 2024
ac4a2b4
Fix elog(FATAL) before PostmasterMain() or just after fork().
nmisch Dec 10, 2024
058b208
Improve reporting of pg_upgrade log files on test failure
michaelpq Dec 10, 2024
782cc1a
Fix possible crash in pg_dump with identity sequences.
tglsfdc Dec 13, 2024
31daa10
contrib/earthdistance: Use SQL-standard function bodies.
tglsfdc Dec 14, 2024
076b091
pgbench: fix misprocessing of some nested \if constructs.
tglsfdc Dec 15, 2024
3231cb5
Make 009_twophase.pl test pass with recovery_min_apply_delay set
hlinnaka Dec 16, 2024
2a74023
Accommodate very large dshash tables.
nathan-bossart Dec 17, 2024
8cfff08
Fix memory leak in pg_restore with zstd-compressed data.
tglsfdc Dec 18, 2024
093fc15
Fix Assert failure in WITH RECURSIVE UNION queries
david-rowley Dec 19, 2024
ba02d24
Fix corruption when relation truncation fails.
macdice Dec 20, 2024
9d8ab2c
Update TransactionXmin when MyProc->xmin is updated
hlinnaka Dec 21, 2024
4d45e74
Fix memory leak in pgoutput with publication list cache
michaelpq Dec 23, 2024
4e0d71f
meson: Export all libcommon functions in Windows builds
hlinnaka Dec 25, 2024
643efb1
meson: Export all libcommon functions in Windows builds
hlinnaka Dec 25, 2024
5d94aa4
In REASSIGN OWNED of a database, lock the tuple as mandated.
nmisch Dec 28, 2024
41a252c
Exclude parallel workers from connection privilege/limit checks.
tglsfdc Dec 28, 2024
359f31c
Fix handling of orphaned 2PC files in the future at recovery
michaelpq Dec 29, 2024
e3a27fd
Fix memory leak in pgoutput with relation attribute map
michaelpq Dec 30, 2024
c4f8291
Update copyright for 2025
bmomjian Jan 1, 2025
a1a9120
Ignore nullingrels when looking up statistics
Jan 2, 2025
653729c
Document strange jsonb sort order for empty top level arrays
adunstan Jan 3, 2025
c957d74
Restore smgrtruncate() prototype in back-branches.
macdice Jan 7, 2025
9defaaa
Fix C error reported by Oracle compiler.
macdice Jan 8, 2025
0bff6f1
Provide 64-bit ftruncate() and lseek() on Windows.
macdice Jan 8, 2025
be74896
Fix off_t overflow in pg_basebackup on Windows.
macdice Jan 9, 2025
0b5927d
Fix an ALTER GROUP ... DROP USER error message.
nathan-bossart Jan 9, 2025
c35bbdf
Fix missing ldapscheme option in pg_hba_file_rules()
danielgustafsson Jan 10, 2025
33a4e65
Repair memory leaks in plpython.
tglsfdc Jan 11, 2025
77763f3
Fix XMLTABLE() deparsing to quote namespace names if necessary.
deanrasheed Jan 12, 2025
116036d
Fix HBA option count
danielgustafsson Jan 12, 2025
bfda7d8
Fix potential integer overflow in bringetbitmap()
michaelpq Jan 14, 2025
91fc447
Fix catcache invalidation of a list entry that's being built
hlinnaka Jan 14, 2025
5c7c34d
ecpg: Restore detection of unsupported COPY FROM STDIN.
MasaoFujii Jan 14, 2025
b935691
Avoid symbol collisions between pqsignal.c and legacy-pqsignal.c.
tglsfdc Jan 14, 2025
9420f9b
Move routines to manipulate WAL into PostgreSQL::Test::Cluster
michaelpq Jan 16, 2025
94c02bd
Fix setrefs.c's failure to do expression processing on prune steps.
tglsfdc Jan 17, 2025
4d72357
Revert recent changes related to handling of 2PC files at recovery
michaelpq Jan 17, 2025
2c2e1d4
Fix header check for continuation records where standbys could be stuck
michaelpq Jan 20, 2025
b4b52c9
Fix latch event policy that hid socket events.
macdice Jan 20, 2025
5054b7e
Avoid using timezone Asia/Manila in regression tests.
tglsfdc Jan 20, 2025
d62403c
Update time zone data files to tzdata release 2025a.
tglsfdc Jan 20, 2025
ddab512
Fix detach of a partition that has a toplevel FK to a partitioned table
alvherre Jan 21, 2025
8c57f54
Repair incorrect handling of AfterTriggerSharedData.ats_modifiedcols.
tglsfdc Jan 22, 2025
7ab181a
Don't ask for bug reports about pthread_is_threaded_np() != 0.
tglsfdc Jan 23, 2025
155d616
meson: Fix sepgsql installation
petere Jan 24, 2025
92598f4
Use the correct sizeof() in BufFileLoadBuffer
tvondra Jan 24, 2025
53771e4
Doc: recommend "psql -X" for restoring pg_dump scripts.
tglsfdc Jan 25, 2025
3d57f7c
Test ECPG decadd(), decdiv(), decmul(), and decsub() for risnull() in…
nmisch Jan 25, 2025
9311fcb
At update of non-LP_NORMAL TID, fail instead of corrupting page header.
nmisch Jan 25, 2025
998c4fc
Avoid breaking SJIS encoding while de-backslashing Windows paths.
tglsfdc Jan 29, 2025
6655d93
Handle default NULL insertion a little better.
tglsfdc Jan 29, 2025
f7a08b6
Avoid integer overflow while testing wal_skip_threshold condition.
tglsfdc Jan 30, 2025
2f9b769
Fix comment of StrategySyncStart()
michaelpq Jan 31, 2025
f07ebd5
Mention jsonlog in description of logging_collector in GUC table
michaelpq Feb 2, 2025
e8d8174
vacuumdb: Add missing PQfinish() calls to vacuum_one_database().
nathan-bossart Feb 4, 2025
d54d566
pg_controldata: Fix possible errors on corrupted pg_control
akorotkov Feb 4, 2025
8062093
meson: Narrow dependencies for 'install-quiet' target
anarazel Feb 4, 2025
dab83a6
meson: Improve dependencies for tmp_install test target
anarazel Feb 4, 2025
0577620
meson: Add pg_regress_ecpg to ecpg test dependencies
anarazel Feb 4, 2025
5acf063
meson: Add missing dependencies to libpq_pipeline test
anarazel Feb 4, 2025
ad80e58
meson: Add missing dependencies for libpq tests
anarazel Feb 4, 2025
d9b5e2f
meson: ci: ensure tests are built before running them
anarazel Feb 4, 2025
b26a3bc
doc: Update links which returned 404
danielgustafsson Feb 5, 2025
60516fc
meson: Fix linking using old OpenSSL lib names
danielgustafsson Feb 7, 2025
bbf1ef7
Doc: clarify behavior of timestamptz input some more.
tglsfdc Feb 7, 2025
21b815f
Fix pgbench performance issue induced by commit af35fe501.
tglsfdc Feb 7, 2025
2aa91e3
Release notes for 17.3, 16.7, 15.11, 14.16, 13.19.
tglsfdc Feb 9, 2025
ef23624
Translation updates
petere Feb 10, 2025
6e05b19
Add pg_encoding_set_invalid()
anarazel Feb 10, 2025
56aa2dc
Specify the encoding of input to fmtId()
anarazel Feb 10, 2025
92e4170
Fix handling of invalidly encoded data in escaping functions
anarazel Feb 10, 2025
0178479
Add test of various escape functions
anarazel Feb 10, 2025
16ce519
docs: EUC_TW can be up to four bytes wide, not three
anarazel Feb 10, 2025
41343f8
Fix type in test_escape test
anarazel Feb 10, 2025
0075a5c
Adapt appendPsqlMetaConnect() to the new fmtId() encoding expectations.
tglsfdc Feb 10, 2025
7e06ffb
Last-minute updates for release notes.
tglsfdc Feb 10, 2025
61f3dcf
Stamp 16.7.
tglsfdc Feb 10, 2025
999cf81
Merge remote-tracking branch 'upstream/REL_16_STABLE' into alexk/pg-16-7
ololobus Feb 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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 @@ -176,7 +179,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 @@ -378,8 +381,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 @@ -424,6 +427,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 @@ -457,26 +474,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 @@ -496,7 +501,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 @@ -569,7 +574,7 @@ task:

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

check_world_script: |
vcvarsall x64
Expand Down Expand Up @@ -627,7 +632,7 @@ task:
%BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=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 @@ -23,9 +23,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