Skip to content

Commit 206f547

Browse files
authored
Merge pull request IvorySQL#1223 from hs-liuxh/IVORYSQL_REL_1_STABLE
Sync IvorySQL v1 to PG 14.22
2 parents a59bf37 + 381543e commit 206f547

533 files changed

Lines changed: 38233 additions & 22059 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.abi-compliance-history

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Reference point for ABI compliance checks
2+
#
3+
# This file lists commits on the current branch that break ABI compatibility in
4+
# ways that have been deemed acceptable (e.g., removing an extern function with
5+
# no third-party uses). The primary intent of this file is to control the ABI
6+
# compliance checks on the buildfarm, but it also serves as a central location
7+
# to document the justification for each.
8+
#
9+
# In general, entries should be added reactively after an abi-compliance-check
10+
# buildfarm failure. It is important to verify the details of the breakage
11+
# match expectations, as the first entry listed will become the updated ABI
12+
# baseline point.
13+
#
14+
# Add new entries by adding the output of the following to the top of the file:
15+
#
16+
# $ git log --pretty=format:"%H%n#%n# %s%n# %cd%n#%n# <ADD JUSTIFICATION HERE>" $ABIBREAKGITHASH -1 --date=iso
17+
#
18+
# Be sure to replace "<ADD JUSTIFICATION HERE>" with details of your change and
19+
# why it is deemed acceptable.
20+
21+
8114224719401da8e30131310f1a227781cac6eb
22+
#
23+
# For inplace update, send nontransactional invalidations.
24+
# 2025-12-16 16:13:56 -0800
25+
#
26+
# This changed PrepareToInvalidateCacheTuple() parameters. PGXN contained no
27+
# calls to that function.
28+
29+
95cce56696867c7629d12c3ba1da8edd5bedaa8e
30+
#
31+
# Check for CREATE privilege on the schema in CREATE STATISTICS.
32+
# 2025-11-10 09:00:00 -0600
33+
#
34+
# This commit added a parameter to CreateStatistics(). We are unaware of any
35+
# impacted third-party code.
36+
37+
983b3636259b1502121cbae99d8a2f0d0515d87d
38+
#
39+
# Fix re-distributing previously distributed invalidation messages during logical decoding.
40+
# 2025-06-16 17:35:50 -0700
41+
#
42+
# This is the original ABI baseline point for REL_14_STABLE. The first entry
43+
# would ordinarily point to something just before the .0 release, but this file
44+
# was first added in October 2025, and we're unlikely to act upon ABI breaks in
45+
# released minor versions, so we've chosen to truncate the ABI history to start
46+
# with the most recent ABI break documented in the git commit history.

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#
1515
# $ git log --pretty=format:"%H # %cd%n# %s" $PGINDENTGITHASH -1 --date=iso
1616

17+
e95010a9c0bad33cca21d762dd1151167993fd37 # 2025-10-21 09:56:26 -0500
18+
# Re-pgindent brin.c.
19+
1720
e1c1c30f635390b6a3ae4993e8cac213a33e6e3f # 2021-06-28 11:05:54 -0400
1821
# Pre branch pgindent / pgperltidy run
1922

COPYRIGHT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PostgreSQL Database Management System
2-
(formerly known as Postgres, then as Postgres95)
2+
(also known as Postgres, formerly known as Postgres95)
33

4-
Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
4+
Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
55

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

config/llvm.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# -----------------
55
#
66
# Look for the LLVM installation, check that it's new enough, set the
7-
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH} and LDFLAGS
7+
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH,LIBS}
88
# variables. Also verify that CLANG is available, to transform C
99
# into bitcode.
1010
#
@@ -55,7 +55,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
5555
5656
for pgac_option in `$LLVM_CONFIG --ldflags`; do
5757
case $pgac_option in
58-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
58+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
5959
esac
6060
done
6161

configure

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for PostgreSQL 14.18.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 14.22.
44
#
55
# Report bugs to <pgsql-bugs@lists.postgresql.org>.
66
#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582582
# Identity of this package.
583583
PACKAGE_NAME='PostgreSQL'
584584
PACKAGE_TARNAME='postgresql'
585-
PACKAGE_VERSION='14.18'
586-
PACKAGE_STRING='PostgreSQL 14.18'
585+
PACKAGE_VERSION='14.22'
586+
PACKAGE_STRING='PostgreSQL 14.22'
587587
PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
588588
PACKAGE_URL='https://www.postgresql.org/'
589589

@@ -1446,7 +1446,7 @@ if test "$ac_init_help" = "long"; then
14461446
# Omit some internal or obsolete options to make the list less imposing.
14471447
# This message is too long to be a string in the A/UX 3.1 sh.
14481448
cat <<_ACEOF
1449-
\`configure' configures PostgreSQL 14.18 to adapt to many kinds of systems.
1449+
\`configure' configures PostgreSQL 14.22 to adapt to many kinds of systems.
14501450

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

@@ -1511,7 +1511,7 @@ fi
15111511

15121512
if test -n "$ac_init_help"; then
15131513
case $ac_init_help in
1514-
short | recursive ) echo "Configuration of PostgreSQL 14.18:";;
1514+
short | recursive ) echo "Configuration of PostgreSQL 14.22:";;
15151515
esac
15161516
cat <<\_ACEOF
15171517

@@ -1685,7 +1685,7 @@ fi
16851685
test -n "$ac_init_help" && exit $ac_status
16861686
if $ac_init_version; then
16871687
cat <<\_ACEOF
1688-
PostgreSQL configure 14.18
1688+
PostgreSQL configure 14.22
16891689
generated by GNU Autoconf 2.69
16901690

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

2441-
It was created by PostgreSQL $as_me 14.18, which was
2441+
It was created by PostgreSQL $as_me 14.22, which was
24422442
generated by GNU Autoconf 2.69. Invocation command line was
24432443

24442444
$ $0 $@
@@ -5289,7 +5289,7 @@ fi
52895289

52905290
for pgac_option in `$LLVM_CONFIG --ldflags`; do
52915291
case $pgac_option in
5292-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
5292+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
52935293
esac
52945294
done
52955295

@@ -9322,12 +9322,12 @@ fi
93229322
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
93239323
for pgac_option in $XML2_CFLAGS; do
93249324
case $pgac_option in
9325-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9325+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
93269326
esac
93279327
done
93289328
for pgac_option in $XML2_LIBS; do
93299329
case $pgac_option in
9330-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9330+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
93319331
esac
93329332
done
93339333
fi
@@ -9552,12 +9552,12 @@ fi
95529552
# note that -llz4 will be added by AC_CHECK_LIB below.
95539553
for pgac_option in $LZ4_CFLAGS; do
95549554
case $pgac_option in
9555-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9555+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
95569556
esac
95579557
done
95589558
for pgac_option in $LZ4_LIBS; do
95599559
case $pgac_option in
9560-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9560+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
95619561
esac
95629562
done
95639563
fi
@@ -16168,7 +16168,7 @@ fi
1616816168
LIBS_including_readline="$LIBS"
1616916169
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1617016170

16171-
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l memset_s poll posix_fallocate ppoll pstat pthread_is_threaded_np readlink readv setproctitle setproctitle_fast setsid shm_open strsignal symlink syncfs sync_file_range uselocale wcstombs_l writev
16171+
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l poll posix_fallocate ppoll pstat pthread_is_threaded_np readlink readv setproctitle setproctitle_fast setsid shm_open strsignal symlink syncfs sync_file_range uselocale wcstombs_l writev
1617216172
do :
1617316173
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1617416174
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -16744,6 +16744,19 @@ cat >>confdefs.h <<_ACEOF
1674416744
#define HAVE_DECL_STRCHRNUL $ac_have_decl
1674516745
_ACEOF
1674616746

16747+
ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
16748+
#include <string.h>
16749+
"
16750+
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
16751+
ac_have_decl=1
16752+
else
16753+
ac_have_decl=0
16754+
fi
16755+
16756+
cat >>confdefs.h <<_ACEOF
16757+
#define HAVE_DECL_MEMSET_S $ac_have_decl
16758+
_ACEOF
16759+
1674716760

1674816761
# This is probably only present on macOS, but may as well check always
1674916762
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -17467,7 +17480,7 @@ _ACEOF
1746717480

1746817481
if test "$with_icu" = yes; then
1746917482
ac_save_CPPFLAGS=$CPPFLAGS
17470-
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
17483+
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
1747117484

1747217485
# Verify we have ICU's header files
1747317486
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -18692,7 +18705,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1869218705
fi
1869318706

1869418707

18695-
# Check for x86 cpuid instruction
18708+
# Check for __get_cpuid() and __cpuid()
1869618709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1869718710
$as_echo_n "checking for __get_cpuid... " >&6; }
1869818711
if ${pgac_cv__get_cpuid+:} false; then :
@@ -18725,9 +18738,9 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1872518738

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

18728-
fi
18729-
18730-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
18741+
else
18742+
# __cpuid()
18743+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
1873118744
$as_echo_n "checking for __cpuid... " >&6; }
1873218745
if ${pgac_cv__cpuid+:} false; then :
1873318746
$as_echo_n "(cached) " >&6
@@ -18739,7 +18752,7 @@ int
1873918752
main ()
1874018753
{
1874118754
unsigned int exx[4] = {0, 0, 0, 0};
18742-
__get_cpuid(exx[0], 1);
18755+
__cpuid(exx, 1);
1874318756

1874418757
;
1874518758
return 0;
@@ -18755,10 +18768,11 @@ rm -f core conftest.err conftest.$ac_objext \
1875518768
fi
1875618769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
1875718770
$as_echo "$pgac_cv__cpuid" >&6; }
18758-
if test x"$pgac_cv__cpuid" = x"yes"; then
18771+
if test x"$pgac_cv__cpuid" = x"yes"; then
1875918772

1876018773
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
1876118774

18775+
fi
1876218776
fi
1876318777

1876418778
# Check for Intel SSE 4.2 intrinsics to do CRC calculations.
@@ -19671,7 +19685,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1967119685
fi
1967219686
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1967319687
ac_save_CPPFLAGS=$CPPFLAGS
19674-
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
19688+
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
1967519689
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1967619690
if test "x$ac_cv_header_tcl_h" = xyes; then :
1967719691

@@ -19740,7 +19754,7 @@ fi
1974019754
# check for <Python.h>
1974119755
if test "$with_python" = yes; then
1974219756
ac_save_CPPFLAGS=$CPPFLAGS
19743-
CPPFLAGS="$python_includespec $CPPFLAGS"
19757+
CPPFLAGS="$CPPFLAGS $python_includespec"
1974419758
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1974519759
if test "x$ac_cv_header_Python_h" = xyes; then :
1974619760

@@ -20794,7 +20808,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2079420808
# report actual input values of CONFIG_FILES etc. instead of their
2079520809
# values after options handling.
2079620810
ac_log="
20797-
This file was extended by PostgreSQL $as_me 14.18, which was
20811+
This file was extended by PostgreSQL $as_me 14.22, which was
2079820812
generated by GNU Autoconf 2.69. Invocation command line was
2079920813

2080020814
CONFIG_FILES = $CONFIG_FILES
@@ -20865,7 +20879,7 @@ _ACEOF
2086520879
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2086620880
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2086720881
ac_cs_version="\\
20868-
PostgreSQL config.status 14.18
20882+
PostgreSQL config.status 14.22
2086920883
configured by $0, generated by GNU Autoconf 2.69,
2087020884
with options \\"\$ac_cs_config\\"
2087120885

0 commit comments

Comments
 (0)