Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
03997e3
doc: Fix title markup for AT TIME ZONE and AT LOCAL
danielgustafsson May 8, 2025
0fa6cc9
Centralize ssl tests' check for whether we're using LibreSSL.
tglsfdc May 9, 2025
38d0a9f
Skip RSA-PSS ssl test when using LibreSSL.
tglsfdc May 9, 2025
1003fe7
Fix incorrect "return NULL" in BumpAllocLarge().
tglsfdc May 11, 2025
90c9059
Fix comment of tsquerysend()
alvherre May 11, 2025
90ba4b6
Fix order of parameters in POD documentation
danielgustafsson May 13, 2025
f90e155
Fix Assert failure in XMLTABLE parser
May 15, 2025
0c6a1b7
Align organization wording in copyright statement
danielgustafsson May 16, 2025
0cffb95
Make our usage of memset_s() conform strictly to the C11 standard.
tglsfdc May 18, 2025
40029ff
Don't retreat slot's confirmed_flush LSN.
May 19, 2025
e78f42d
Fix deparsing FETCH FIRST <expr> ROWS WITH TIES
hlinnaka May 19, 2025
7fc557c
doc: Clarify use of _ccnew and _ccold in REINDEX CONCURRENTLY
michaelpq May 20, 2025
9db21b6
Fix cross-version upgrade test failure
hlinnaka May 20, 2025
e1849d6
Fix incorrect WAL description for PREPARE TRANSACTION record.
MasaoFujii May 21, 2025
67b8d11
Fix memory leak in XMLSERIALIZE(... INDENT).
tglsfdc May 22, 2025
84dd417
Fix AlignedAllocRealloc to cope sanely with OOM.
tglsfdc May 23, 2025
55861a0
Fix per-relation memory leakage in autovacuum.
tglsfdc May 23, 2025
5ddf279
doc: Fix documenation for snapshot export in logical decoding.
MasaoFujii May 26, 2025
bb8df60
Fix race condition in subscription TAP test 021_twophase
michaelpq May 26, 2025
8bc9648
Fix conversion of SIMILAR TO regexes for character classes
michaelpq May 27, 2025
6aea8ec
Adjust regex for test with opening parenthesis in character classes
michaelpq May 28, 2025
c4b1b3d
pg_stat_statements: Fix parameter number gaps in normalized queries
michaelpq May 29, 2025
1f11ea9
Fix assertion failure in pg_prewarm() on objects without storage.
MasaoFujii May 29, 2025
013e362
Avoid resource leaks when a dblink connection fails.
tglsfdc May 29, 2025
0bffe9c
Fix broken-FK-detection query in release notes
alvherre May 30, 2025
cf5c930
Make XactLockTableWait() and ConditionalXactLockTableWait() interrupt…
MasaoFujii May 30, 2025
89b9afe
Allow larger packets during GSSAPI authentication exchange.
tglsfdc May 30, 2025
3bf1147
Fix memory leakage in postgres_fdw's DirectModify code path.
tglsfdc May 30, 2025
d313d28
Ensure we have a snapshot when updating various system catalogs.
nathan-bossart May 30, 2025
317c05d
Fix MERGE into a plain inheritance parent table.
deanrasheed May 31, 2025
2de656c
Fix edge-case resource leaks in PL/Python error reporting.
tglsfdc Jun 1, 2025
0de8e73
Run pgindent on the previous commit.
tglsfdc Jun 1, 2025
3938329
Use replay LSN as target for cascading logical WAL senders
michaelpq Jun 2, 2025
f9691d4
Disallow "=" in names of reloptions and foreign-data options.
tglsfdc Jun 2, 2025
439f755
doc: Remove notes about "unencrypted" passwords.
nathan-bossart Jun 4, 2025
0bfa536
Doc: you must own the target object to use SECURITY LABEL.
tglsfdc Jun 5, 2025
d2f5a51
pg_prewarm: Allow autoprewarm to use more than 1GB to dump blocks.
robertmhaas Jun 6, 2025
b7ade07
Fixed signed/unsigned mismatch in test_dsm_registry.
nathan-bossart Jun 6, 2025
808230a
pg_restore: fix incompatibility with old directory-format dumps.
tglsfdc Jun 8, 2025
937214f
Don't reduce output request size on non-Unix-socket connections.
tglsfdc Jun 10, 2025
6f82979
Make _bt_killitems drop pins it acquired itself.
petergeoghegan Jun 11, 2025
e415b8d
Keep WAL segments by the flushed value of the slot's restart LSN
akorotkov Jun 14, 2025
dd9ce35
Add TAP tests to check replication slot advance during the checkpoint
akorotkov Jun 14, 2025
d8fc8e5
Fix re-distributing previously distributed invalidation messages duri…
MasahikoSawada Jun 17, 2025
5cb085c
Improve log messages and docs for slot synchronization.
Jun 19, 2025
95087b8
Correct docs about partitions and EXCLUDE constraints.
jeff-davis Jun 19, 2025
42b546a
Improve runtime and output of tests for replication slots checkpointing.
akorotkov Jun 19, 2025
67f4d54
Use SnapshotDirty when checking for conflicting index names.
tglsfdc Jun 20, 2025
56162e9
Doc: improve documentation about width_bucket().
tglsfdc Jun 21, 2025
2962f3b
meson: Fix meson warning
petere Jun 22, 2025
d218f6b
doc: Fix incorrect UUID index entry in function documentation.
MasaoFujii Jun 24, 2025
5435e3b
doc: Remove dead link to NewbieDoc Docbook Guide
danielgustafsson Jun 24, 2025
a1f3a5a
Test that vacuum removes tuples older than OldestXmin
melanieplageman Jun 24, 2025
28c605f
Prevent excessive delays before launching new logrep workers.
tglsfdc Jun 24, 2025
a02ed48
Avoid scribbling of VACUUM options
michaelpq Jun 25, 2025
7868867
Doc: Improve documentation of stream abort.
Jun 25, 2025
49dd6f1
doc: Fix indentation of MERGE synopsis.
deanrasheed Jun 26, 2025
b9ae116
Remove unused check in heap_xlog_insert()
melanieplageman Jun 26, 2025
cb8cb8c
Use correct DatumGet*() function in test_shm_mq_main().
nathan-bossart Jun 27, 2025
f9d2100
Obtain required table lock during cross-table constraint updates.
tglsfdc Jun 29, 2025
0dc8537
doc: Fix typo in pg_sync_replication_slots documentation
danielgustafsson Jun 30, 2025
f7ab652
Fix typos in comments
amitlan Jul 1, 2025
645376c
Make safeguard against incorrect flags for fsync more portable.
tglsfdc Jul 1, 2025
5be9d15
Make sure IOV_MAX is defined.
tglsfdc Jul 1, 2025
f273e85
Fix outdated comment for IndexInfo
petere Jul 1, 2025
244ca2a
Document pg_get_multixact_members().
nathan-bossart Jul 1, 2025
c86e17e
Update comment for IndexInfo.ii_NullsNotDistinct
petere Jul 1, 2025
3d0a88c
Fix bug in archive streamer with LZ4 decompression
michaelpq Jul 2, 2025
c9a3bf8
Fix missing FSM vacuum opportunities on tables without indexes.
MasahikoSawada Jul 2, 2025
c20a2c3
Correctly copy the target host identification in PQcancelCreate.
tglsfdc Jul 2, 2025
d2ec174
doc: Remove incorrect note about wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
fa9f6c8
doc: Update outdated descriptions of wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
b3c2f41
Obtain required table lock during cross-table updates, redux.
tglsfdc Jul 3, 2025
98bb0b3
Disable commit timestamps during bootstrap
michaelpq Jul 4, 2025
8158916
pg_upgrade: check for inconsistencies in not-null constraints w/inher…
alvherre Jul 4, 2025
3755d04
pg_upgrade: Add missing newline in error message
alvherre Jul 4, 2025
5e4e6f6
Fix new pg_upgrade query not to rely on regnamespace
alvherre Jul 4, 2025
73fb551
Fix incompatibility with libxml2 >= 2.14
michaelpq Jul 6, 2025
dffae69
Restore the ability to run pl/pgsql expression queries in parallel.
tglsfdc Jul 7, 2025
3cf13ca
Fix low-probability memory leak in XMLSERIALIZE(... INDENT).
tglsfdc Jul 8, 2025
6bd2e63
Doc: Improve logical replication failover documentation.
Jul 9, 2025
51ddcee
Fix tab-completion for COPY and \copy options.
MasahikoSawada Jul 9, 2025
1f6cafe
pg_dump: Fix object-type sort priority for large objects.
nathan-bossart Jul 10, 2025
5076314
Fix the handling of two GUCs during upgrade.
Jul 11, 2025
3208b6e
Fix inconsistent quoting of role names in ACLs.
tglsfdc Jul 11, 2025
3ffb5c5
Doc: clarify description of current-date/time functions.
tglsfdc Jul 15, 2025
7e2e5dc
Silence uninitialized-value warnings in compareJsonbContainers().
tglsfdc Jul 15, 2025
8292439
Doc: clarify description of regexp fields in pg_ident.conf.
tglsfdc Jul 15, 2025
6af9e56
doc: Fix confusing description of streaming option in START_REPLICATION.
MasaoFujii Jul 15, 2025
4085c6d
psql: Fix note on project naming in output of \copyright.
nathan-bossart Jul 16, 2025
213e06a
Fix dumping of comments on invalid constraints on domains
alvherre Jul 16, 2025
1a6d0f4
doc: Add example file for COPY
danielgustafsson Jul 16, 2025
a4a1762
Fix inconsistent LWLock tranche names for MultiXact*
michaelpq Jul 17, 2025
5e1435f
Remove duplicate line
amitlan Jul 17, 2025
7b41a93
Remove assertion from PortalRunMulti
alvherre Jul 17, 2025
1140c4c
Fix PQport to never return NULL unless the connection is NULL.
tglsfdc Jul 17, 2025
313045a
Fix concurrent update trigger issues with MERGE in a CTE.
deanrasheed Jul 18, 2025
58334b0
Improve recovery test 046_checkpoint_logical_slot
akorotkov Jul 17, 2025
c395ab4
Improve the stability of the recovery test 047_checkpoint_physical_slot
akorotkov Jul 19, 2025
f53383a
Fix infinite wait when reading a partially written WAL record
akorotkov Jul 19, 2025
b84a8eb
doc: Document reopen of output file via SIGHUP in pg_recvlogical.
MasaoFujii Jul 20, 2025
e939dd8
pg_dump: include comments on not-null constraints on domains, too
alvherre Jul 21, 2025
18471e5
ecpg: Fix NULL pointer dereference during connection lookup
michaelpq Jul 22, 2025
b45bb27
doc: Inform about aminsertcleanup optional NULLness
michaelpq Jul 22, 2025
c1935cf
Fix build breakage on Solaris-alikes with late-model GCC.
tglsfdc Jul 23, 2025
04bc6be
Fix duplicate transaction replay during pg_createsubscriber.
Jul 24, 2025
165e84b
Limit checkpointer requests queue size
akorotkov Jul 27, 2025
3c8c544
Avoid regression in the size of XML input that we will accept.
tglsfdc Jul 28, 2025
d3fa1e5
Clarify documentation for the initcap function
akorotkov Jul 29, 2025
08ec006
Remove unnecessary complication around xmlParseBalancedChunkMemory.
tglsfdc Jul 29, 2025
0e5591b
Don't put library-supplied -L/-I switches before user-supplied ones.
tglsfdc Jul 29, 2025
4c9beb0
Fix ./configure checks with __cpuidex() and __cpuid()
michaelpq Jul 30, 2025
f02e85f
pg_dump: provide a stable sort order for rules.
tglsfdc Nov 4, 2024
1267076
Sort dump objects independent of OIDs, for the 7 holdout object types.
nmisch Jul 31, 2025
911c4fd
Fix a deadlock during ALTER SUBSCRIPTION ... DROP PUBLICATION.
Aug 1, 2025
2f235c4
Allow resetting unknown custom GUCs with reserved prefixes.
nathan-bossart Aug 1, 2025
38ebad4
Fix use-after-free with INSERT ON CONFLICT changes in reorderbuffer.c
michaelpq Aug 2, 2025
fc54925
Doc: clarify the restrictions of AFTER triggers with transition tables.
Aug 2, 2025
ea35c89
Fix assertion failure in pgbench when handling multiple pipeline sync…
MasaoFujii Aug 3, 2025
682dabf
doc: mention unusability of dropped CHECK to verify NOT NULL
alvherre Aug 4, 2025
540a432
Avoid unexpected shutdown when sync_replication_slots is enabled.
MasaoFujii Aug 4, 2025
2d289a8
Fix typo in create_index.sql.
deanrasheed Aug 4, 2025
f71e9d6
Minor test fixes in 035_standby_logical_decoding.pl
melanieplageman Aug 4, 2025
10cc059
Fix incorrect return value in brin_minmax_multi_distance_numeric().
tglsfdc Aug 5, 2025
52e7ae0
doc: Recommend ANALYZE after ALTER TABLE ... SET EXPRESSION AS.
MasaoFujii Aug 6, 2025
b51d13c
pg_upgrade: Improve message indentation
petere Aug 7, 2025
874be8a
Update ICU C++ API symbols
j-naylor Aug 7, 2025
4be9187
Revert "Clarify documentation for the initcap function"
akorotkov Aug 7, 2025
918f8bd
Message improvements
petere Aug 7, 2025
6a3140c
Fix checkpointer shared memory allocation
akorotkov Aug 7, 2025
6182d47
doc: Formatting improvements
petere Aug 7, 2025
78823a7
doc: add float as an alias for double precision.
tglsfdc Aug 7, 2025
da5113a
Add information about "generation" when dropping twice pgstats entry
michaelpq Aug 8, 2025
950b998
Disallow collecting transition tuples from child foreign tables.
Aug 8, 2025
50d8908
pg_dump: Fix incorrect parsing of object types in pg_dump --filter.
MasaoFujii Aug 8, 2025
30dec50
Fix oversight in FindTriggerIncompatibleWithInheritance.
Aug 8, 2025
0409323
Fix incorrect lack of Datum conversion in _int_matchsel()
petere Aug 8, 2025
5deac6f
First-draft release notes for 17.6.
tglsfdc Aug 8, 2025
9c37c6f
Remove, from stable branches, the new assertion of no pg_dump OID sort.
nmisch Aug 10, 2025
2d09353
Release notes for 17.6, 16.10, 15.14, 14.19, 13.22.
tglsfdc Aug 10, 2025
fc222d9
Fix security checks in selectivity estimation functions.
deanrasheed Aug 11, 2025
0d07d34
Translation updates
petere Aug 11, 2025
58e5bec
Convert newlines to spaces in names written in v11+ pg_dump comments.
nmisch Aug 11, 2025
e5fe765
Restrict psql meta-commands in plain-text dumps.
nathan-bossart Aug 11, 2025
21713f7
Last-minute updates for release notes.
tglsfdc Aug 11, 2025
db64982
Stamp 17.6.
tglsfdc Aug 11, 2025
83164ce
unrestrict psql meta-commands for using backslash command for pg_dump…
Oct 14, 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
3 changes: 0 additions & 3 deletions .cirrus.tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -777,14 +777,11 @@ task:
# - Don't use ccache, the files are uncacheable, polluting ccache's
# cache
# - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
# - XXX have to disable ICU to avoid errors:
# https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
###
always:
headers_headerscheck_script: |
time ./configure \
${LINUX_CONFIGURE_FEATURES} \
--without-icu \
--quiet \
CC="gcc" CXX"=g++" CLANG="clang"
make -s -j${BUILD_JOBS} clean
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)
(also known as Postgres, formerly known as Postgres95)

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

Expand Down
4 changes: 2 additions & 2 deletions config/llvm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# -----------------
#
# Look for the LLVM installation, check that it's new enough, set the
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH} and LDFLAGS
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH,LIBS}
# variables. Also verify that CLANG is available, to transform C
# into bitcode.
#
Expand Down Expand Up @@ -55,7 +55,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],

for pgac_option in `$LLVM_CONFIG --ldflags`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
esac
done

Expand Down
116 changes: 66 additions & 50 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 17.5.
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.6.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -582,8 +582,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='17.5'
PACKAGE_STRING='PostgreSQL 17.5'
PACKAGE_VERSION='17.6'
PACKAGE_STRING='PostgreSQL 17.6'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL='https://www.postgresql.org/'

Expand Down Expand Up @@ -1450,7 +1450,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 17.5 to adapt to many kinds of systems.
\`configure' configures PostgreSQL 17.6 to adapt to many kinds of systems.

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

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

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

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

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2443,7 +2443,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 17.5, which was
It was created by PostgreSQL $as_me 17.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -5213,7 +5213,7 @@ fi

for pgac_option in `$LLVM_CONFIG --ldflags`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
esac
done

Expand Down Expand Up @@ -9020,12 +9020,12 @@ fi
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
for pgac_option in $XML2_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $XML2_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -9250,12 +9250,12 @@ fi
# note that -llz4 will be added by AC_CHECK_LIB below.
for pgac_option in $LZ4_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $LZ4_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -9391,12 +9391,12 @@ fi
# note that -lzstd will be added by AC_CHECK_LIB below.
for pgac_option in $ZSTD_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $ZSTD_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -15272,7 +15272,7 @@ fi
LIBS_including_readline="$LIBS"
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`

for ac_func in backtrace_symbols copyfile copy_file_range getifaddrs getpeerucred inet_pton kqueue mbstowcs_l memset_s posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
for ac_func in backtrace_symbols copyfile copy_file_range getifaddrs getpeerucred inet_pton kqueue mbstowcs_l posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Expand Down Expand Up @@ -15828,6 +15828,19 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRCHRNUL $ac_have_decl
_ACEOF

ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
#include <string.h>
"
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi

cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_MEMSET_S $ac_have_decl
_ACEOF


# This is probably only present on macOS, but may as well check always
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
Expand Down Expand Up @@ -16243,7 +16256,7 @@ fi

if test "$with_icu" = yes; then
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"

# Verify we have ICU's header files
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
Expand Down Expand Up @@ -17394,7 +17407,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
fi


# Check for x86 cpuid instruction
# Check for __get_cpuid() and __cpuid()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
$as_echo_n "checking for __get_cpuid... " >&6; }
if ${pgac_cv__get_cpuid+:} false; then :
Expand Down Expand Up @@ -17427,77 +17440,79 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then

$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h

fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
$as_echo_n "checking for __get_cpuid_count... " >&6; }
if ${pgac_cv__get_cpuid_count+:} false; then :
else
# __cpuid()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
$as_echo_n "checking for __cpuid... " >&6; }
if ${pgac_cv__cpuid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <cpuid.h>
#include <intrin.h>
int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
__cpuid(exx, 1);

;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
pgac_cv__get_cpuid_count="yes"
pgac_cv__cpuid="yes"
else
pgac_cv__get_cpuid_count="no"
pgac_cv__cpuid="no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
$as_echo "$pgac_cv__cpuid" >&6; }
if test x"$pgac_cv__cpuid" = x"yes"; then

$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
$as_echo "#define HAVE__CPUID 1" >>confdefs.h

fi
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
$as_echo_n "checking for __cpuid... " >&6; }
if ${pgac_cv__cpuid+:} false; then :
# Check for __get_cpuid_count() and __cpuidex() in a similar fashion.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
$as_echo_n "checking for __get_cpuid_count... " >&6; }
if ${pgac_cv__get_cpuid_count+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <intrin.h>
#include <cpuid.h>
int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuid(exx[0], 1);
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);

;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
pgac_cv__cpuid="yes"
pgac_cv__get_cpuid_count="yes"
else
pgac_cv__cpuid="no"
pgac_cv__get_cpuid_count="no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
$as_echo "$pgac_cv__cpuid" >&6; }
if test x"$pgac_cv__cpuid" = x"yes"; then

$as_echo "#define HAVE__CPUID 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then

fi
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
else
# __cpuidex()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
$as_echo_n "checking for __cpuidex... " >&6; }
if ${pgac_cv__cpuidex+:} false; then :
$as_echo_n "(cached) " >&6
Expand All @@ -17509,7 +17524,7 @@ int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuidex(exx[0], 7, 0);
__cpuidex(exx, 7, 0);

;
return 0;
Expand All @@ -17525,10 +17540,11 @@ rm -f core conftest.err conftest.$ac_objext \
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuidex" >&5
$as_echo "$pgac_cv__cpuidex" >&6; }
if test x"$pgac_cv__cpuidex" = x"yes"; then
if test x"$pgac_cv__cpuidex" = x"yes"; then

$as_echo "#define HAVE__CPUIDEX 1" >>confdefs.h

fi
fi

# Check for XSAVE intrinsics
Expand Down Expand Up @@ -18680,7 +18696,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
fi
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
if test "x$ac_cv_header_tcl_h" = xyes; then :

Expand Down Expand Up @@ -18749,7 +18765,7 @@ fi
# check for <Python.h>
if test "$with_python" = yes; then
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$python_includespec $CPPFLAGS"
CPPFLAGS="$CPPFLAGS $python_includespec"
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
if test "x$ac_cv_header_Python_h" = xyes; then :

Expand Down Expand Up @@ -19850,7 +19866,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 17.5, which was
This file was extended by PostgreSQL $as_me 17.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -19921,7 +19937,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 17.5
PostgreSQL config.status 17.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
Loading