Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update postgres and pg_tde version numbers #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion ci_scripts/env.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

export PERCONA_SERVER_VERSION=17.5.1
export PERCONA_SERVER_VERSION=17.5.2
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF


PG_PERCONAVERSION=1
PG_PERCONAVERSION=2

cat >>confdefs.h <<_ACEOF
#define PG_PERCONAVERSION "$PG_PERCONAVERSION"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major versio
AC_DEFINE_UNQUOTED(PG_MAJORVERSION_NUM, $PG_MAJORVERSION, [PostgreSQL major version number])
AC_DEFINE_UNQUOTED(PG_MINORVERSION_NUM, $PG_MINORVERSION, [PostgreSQL minor version number])

[PG_PERCONAVERSION=1]
[PG_PERCONAVERSION=2]
AC_DEFINE_UNQUOTED(PG_PERCONAVERSION, "$PG_PERCONAVERSION", [PostgreSQL Percona version as a string])

PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version],
Expand Down
2 changes: 1 addition & 1 deletion contrib/pg_tde/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PGFILEDESC = "pg_tde access method"
MODULE_big = pg_tde
EXTENSION = pg_tde
DATA = pg_tde--1.0-rc.sql
DATA = pg_tde--1.0.sql

# Since meson supports skipping test suites this is a make only feature
ifndef TDE_MODE
Expand Down
6 changes: 3 additions & 3 deletions contrib/pg_tde/expected/version.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CREATE EXTENSION pg_tde;
SELECT pg_tde_version();
pg_tde_version
-----------------
pg_tde 1.0.0-rc
pg_tde_version
----------------
pg_tde 1.0.0
(1 row)

DROP EXTENSION pg_tde;
2 changes: 1 addition & 1 deletion contrib/pg_tde/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ endif

install_data(
'pg_tde.control',
'pg_tde--1.0-rc.sql',
'pg_tde--1.0.sql',
kwargs: contrib_data_args,
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion contrib/pg_tde/pg_tde.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment = 'pg_tde access method'
default_version = '1.0-rc'
default_version = '1.0'
module_pathname = '$libdir/pg_tde'
relocatable = false
2 changes: 1 addition & 1 deletion contrib/pg_tde/src/include/pg_tde.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PG_TDE_H

#define PG_TDE_NAME "pg_tde"
#define PG_TDE_VERSION "1.0.0-rc"
#define PG_TDE_VERSION "1.0.0"
#define PG_TDE_VERSION_STRING PG_TDE_NAME " " PG_TDE_VERSION

#define PG_TDE_DATA_DIR "pg_tde"
Expand Down
2 changes: 1 addition & 1 deletion contrib/pg_tde/t/expected/basic.out
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CREATE EXTENSION pg_tde;
SELECT extname, extversion FROM pg_extension WHERE extname = 'pg_tde';
extname | extversion
---------+------------
pg_tde | 1.0-rc
pg_tde | 1.0
(1 row)

CREATE TABLE test_enc (id SERIAL, k INTEGER, PRIMARY KEY (id)) USING tde_heap;
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ endif
pg_version_major = pg_version_arr[0].to_int()
pg_version_minor = pg_version_arr[1].to_int()
pg_version_num = (pg_version_major * 10000) + pg_version_minor
pg_percona_ver = '1'
pg_percona_ver = '2'

pg_url = 'https://www.postgresql.org/'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# To make this testcase work, PERCONA_SERVER_VERSION variable should be available in environment.
# If you are using ci_scripts it is already declated in ci_scripts/env.sh
# If you are using command line make for regression then export like:
# export PERCONA_SERVER_VERSION=17.4.1
# export PERCONA_SERVER_VERSION=17.5.2

if (!defined($ENV{PERCONA_SERVER_VERSION}))
{
Expand Down