Skip to content

Commit b84a3dd

Browse files
committed
v2.53.1: PostgreSQL 17beta3 Support
Bug Fixes: * Fix permissions when restore run as root user. (Reviewed by Stefan Fercot. Reported by Will M.) * Fix segfault on delayed connection errors. (Reviewed by David Christensen. Reported by Anton Glushakov.) * Skip local repository duplicate check for SFTP. (Fixed by Reid Thompson. Reviewed by David Steele. Reported by Anton Kurochkin.) Improvements: * PostgreSQL 17beta3 support.
1 parent 377ba06 commit b84a3dd

File tree

10 files changed

+385
-334
lines changed

10 files changed

+385
-334
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait
263263
264264
P00 INFO: P1-T1/1 - vm=none, module=common, test=wait
265265
266-
P00 INFO: test command begin 2.53: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --test-path=/home/vagrant/test --vm=none --vm-id=0
266+
P00 INFO: test command begin 2.53.1: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --test-path=/home/vagrant/test --vm=none --vm-id=0
267267
P00 INFO: test command end: completed successfully
268268
run 1 - waitNew(), waitMore, and waitFree()
269269
L0018 expect AssertError: assertion 'waitTime <= 999999000' failed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
pgBackRest is a reliable backup and restore solution for PostgreSQL that seamlessly scales up to the largest databases and workloads.
66

7-
pgBackRest [v2.53](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.53) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
7+
pgBackRest [v2.53.1](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.53.1) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
88

99
Please find us on [GitHub](https://github.com/pgbackrest/pgbackrest) and give us a star if you like pgBackRest!
1010

doc/resource/exe.cache

Lines changed: 324 additions & 313 deletions
Large diffs are not rendered by default.

doc/resource/git-history.cache

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
11
[
2+
{
3+
"commit": "377ba062ac81867dca6197265688deb0111ae81a",
4+
"date": "2024-08-16 11:46:56 +0700",
5+
"subject": "Fix segfault on delayed connection errors.",
6+
"body": "Connection errors could cause a segfault if the error was delayed enough to pass the initial call to sckClientOpenWait() and the error was instead thrown by a subsequent call to sckClientOpenWait(), which was not correctly initializing a variable required for error handling.\n\nWhile this can be produced fairly easily in a test environment, I was unable to craft a unit test to hit this exact condition, probably due to timing. The new code still has full coverage and I added several comments to help prevent regressions."
7+
},
8+
{
9+
"commit": "98403046ed6af4c54fa2f572ecf9c211f94b67db",
10+
"date": "2024-08-16 11:21:44 +0700",
11+
"subject": "Skip local repository duplicate check for SFTP.",
12+
"body": "This check does not make sense for SFTP since the repository will never be local."
13+
},
14+
{
15+
"commit": "189d15d1a640e31aac5ffbbd0fb06eb9eed8b576",
16+
"date": "2024-08-16 11:13:35 +0700",
17+
"subject": "PostgreSQL 17beta3 support.",
18+
"body": "This release changed the control and WAL format, which is very unusual for a beta. Update control and WAL versions/structs to match."
19+
},
20+
{
21+
"commit": "7bd8da4eecb0ce1461854414b727606a5e884edf",
22+
"date": "2024-08-16 10:46:41 +0700",
23+
"subject": "Fix permissions when restore run as root user.",
24+
"body": "When restore was run as the root user the pg_control file would end up with root permissions. This bug was introduced in e634fd8. Fix this by directly overwriting the pg_control temp file rather than doing an atomic write that updates permissions. Also update other parameters to more closely match similar calls.\n\nThere was also an adjacent error where restore as the root user would fail if the base path did not exist. Fix this by ignoring the missing path since it will be created later and this logic is just trying to find an alternate user for permissions if the user in the manifest does not exist."
25+
},
26+
{
27+
"commit": "5fa74d5d3ce85b157b11169b25b15085379b84aa",
28+
"date": "2024-08-16 10:16:00 +0700",
29+
"subject": "Fix typo in user guide."
30+
},
31+
{
32+
"commit": "c1fe2dbe81139482a42cc6ca957c68ff7454ce9e",
33+
"date": "2024-08-16 10:13:14 +0700",
34+
"subject": "Do not allow help for command roles other than main.",
35+
"body": "Previously requesting help for roles other than main would result in a segfault since help.auto.c.inc does not include such help.\n\nPrevent this by erroring when a user requests help for roles other than main.\n\nThis is a bug but it is unlikely to have ever been seen in the field and in any case it has a very low severity since it only impacts a corner-case for the help command."
36+
},
37+
{
38+
"commit": "6d653a14a2330659928c4700f851d3bafb899527",
39+
"date": "2024-08-16 09:35:41 +0700",
40+
"subject": "Begin v2.53.1 development."
41+
},
242
{
343
"commit": "6e8a45f650e303fe74a1e34ee8e76a193dbc6c4a",
444
"date": "2024-07-22 09:33:31 +0700",

doc/xml/auto/metric-coverage-report.auto.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
<table-cell>common/io/socket</table-cell>
241241
<table-cell>28/28 (100.0%)</table-cell>
242242
<table-cell>104/104 (100.0%)</table-cell>
243-
<table-cell>439/439 (100.0%)</table-cell>
243+
<table-cell>442/442 (100.0%)</table-cell>
244244
</table-row>
245245

246246
<table-row>
@@ -260,8 +260,8 @@
260260
<table-row>
261261
<table-cell>config</table-cell>
262262
<table-cell>92/92 (100.0%)</table-cell>
263-
<table-cell>1000/1000 (100.0%)</table-cell>
264-
<table-cell>1956/1956 (100.0%)</table-cell>
263+
<table-cell>1002/1002 (100.0%)</table-cell>
264+
<table-cell>1957/1957 (100.0%)</table-cell>
265265
</table-row>
266266

267267
<table-row>
@@ -358,6 +358,6 @@
358358
<table-row>
359359
<table-cell>TOTAL</table-cell>
360360
<table-cell>1661/1661 (100.0%)</table-cell>
361-
<table-cell>10433/10434 (99.99%)</table-cell>
362-
<table-cell>31267/31267 (100.0%)</table-cell>
361+
<table-cell>10435/10436 (99.99%)</table-cell>
362+
<table-cell>31271/31271 (100.0%)</table-cell>
363363
</table-row>

doc/xml/release/2024/2.53.1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<release date="XXXX-XX-XX" version="2.53.1dev" title="UNDER DEVELOPMENT">
1+
<release date="2024-08-19" version="2.53.1" title="PostgreSQL 17beta3 Support">
22
<release-core-list>
33
<release-bug-list>
44
<release-item>

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
project(
55
'pgbackrest',
66
['c'],
7-
version: '2.53.1dev',
7+
version: '2.53.1',
88
license: 'MIT',
99
meson_version: '>=0.47',
1010
default_options: [

src/build/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Initialize configuration
22
# ----------------------------------------------------------------------------------------------------------------------------------
33
AC_PREREQ([2.71])
4-
AC_INIT([pgBackRest], [2.53.1dev])
4+
AC_INIT([pgBackRest], [2.53.1])
55
AC_CONFIG_SRCDIR([version.h])
66
AC_CONFIG_AUX_DIR(build)
77

src/configure

Lines changed: 10 additions & 10 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.71 for pgBackRest 2.53.1dev.
3+
# Generated by GNU Autoconf 2.71 for pgBackRest 2.53.1.
44
#
55
#
66
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -607,8 +607,8 @@ MAKEFLAGS=
607607
# Identity of this package.
608608
PACKAGE_NAME='pgBackRest'
609609
PACKAGE_TARNAME='pgbackrest'
610-
PACKAGE_VERSION='2.53.1dev'
611-
PACKAGE_STRING='pgBackRest 2.53.1dev'
610+
PACKAGE_VERSION='2.53.1'
611+
PACKAGE_STRING='pgBackRest 2.53.1'
612612
PACKAGE_BUGREPORT=''
613613
PACKAGE_URL=''
614614

@@ -1272,7 +1272,7 @@ if test "$ac_init_help" = "long"; then
12721272
# Omit some internal or obsolete options to make the list less imposing.
12731273
# This message is too long to be a string in the A/UX 3.1 sh.
12741274
cat <<_ACEOF
1275-
\`configure' configures pgBackRest 2.53.1dev to adapt to many kinds of systems.
1275+
\`configure' configures pgBackRest 2.53.1 to adapt to many kinds of systems.
12761276
12771277
Usage: $0 [OPTION]... [VAR=VALUE]...
12781278
@@ -1319,7 +1319,7 @@ fi
13191319

13201320
if test -n "$ac_init_help"; then
13211321
case $ac_init_help in
1322-
short | recursive ) echo "Configuration of pgBackRest 2.53.1dev:";;
1322+
short | recursive ) echo "Configuration of pgBackRest 2.53.1:";;
13231323
esac
13241324
cat <<\_ACEOF
13251325
@@ -1414,7 +1414,7 @@ fi
14141414
test -n "$ac_init_help" && exit $ac_status
14151415
if $ac_init_version; then
14161416
cat <<\_ACEOF
1417-
pgBackRest configure 2.53.1dev
1417+
pgBackRest configure 2.53.1
14181418
generated by GNU Autoconf 2.71
14191419
14201420
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1570,7 +1570,7 @@ cat >config.log <<_ACEOF
15701570
This file contains any messages produced by compilers while
15711571
running configure, to aid debugging if configure makes a mistake.
15721572
1573-
It was created by pgBackRest $as_me 2.53.1dev, which was
1573+
It was created by pgBackRest $as_me 2.53.1, which was
15741574
generated by GNU Autoconf 2.71. Invocation command line was
15751575
15761576
$ $0$ac_configure_args_raw
@@ -4982,7 +4982,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49824982
# report actual input values of CONFIG_FILES etc. instead of their
49834983
# values after options handling.
49844984
ac_log="
4985-
This file was extended by pgBackRest $as_me 2.53.1dev, which was
4985+
This file was extended by pgBackRest $as_me 2.53.1, which was
49864986
generated by GNU Autoconf 2.71. Invocation command line was
49874987
49884988
CONFIG_FILES = $CONFIG_FILES
@@ -5046,7 +5046,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
50465046
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
50475047
ac_cs_config='$ac_cs_config_escaped'
50485048
ac_cs_version="\\
5049-
pgBackRest config.status 2.53.1dev
5049+
pgBackRest config.status 2.53.1
50505050
configured by $0, generated by GNU Autoconf 2.71,
50515051
with options \\"\$ac_cs_config\\"
50525052
@@ -5750,4 +5750,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
57505750
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
57515751
fi
57525752
5753-
# Generated from src/build/configure.ac sha1 feb7ce378017e308c41a7c9044ab9e2388d0db8a
5753+
# Generated from src/build/configure.ac sha1 3362051d122c66a99b4cc13a0301696541700206

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ will be invalid unless migration functions are written.
3333
/***********************************************************************************************************************************
3434
Software version
3535
***********************************************************************************************************************************/
36-
#define PROJECT_VERSION "2.53.1dev"
36+
#define PROJECT_VERSION "2.53.1"
3737

3838
#endif

0 commit comments

Comments
 (0)