Skip to content

Commit

Permalink
Merge pull request #7 from Percona-Lab/pg-1008
Browse files Browse the repository at this point in the history
PG-1008: Change product name and version number
  • Loading branch information
codeforall authored Sep 19, 2024
2 parents 1a98df1 + bf7e2c3 commit 6aba5b5
Show file tree
Hide file tree
Showing 33 changed files with 47 additions and 47 deletions.
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='17rc1'
PACKAGE_STRING='PostgreSQL 17rc1'
PACKAGE_VERSION='17rc1.1'
PACKAGE_STRING='PostgreSQL 17rc1.1'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL='https://www.postgresql.org/'

Expand Down Expand Up @@ -1452,7 +1452,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 17rc1 to adapt to many kinds of systems.
\`configure' configures PostgreSQL 17rc1.1 to adapt to many kinds of systems.

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

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

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

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

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

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


cat >>confdefs.h <<_ACEOF
#define PG_VERSION_STR "PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"
#define PG_VERSION_STR "Percona Server for PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"
_ACEOF


Expand Down Expand Up @@ -19821,7 +19821,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 17rc1, which was
This file was extended by PostgreSQL $as_me 17rc1.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

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

Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
dnl
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros

AC_INIT([PostgreSQL], [17rc1], [[email protected]], [], [https://www.postgresql.org/])
AC_INIT([Percona Server for PostgreSQL], [17rc1.1], [[email protected]], [], [https://www.postgresql.org/])

m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
Untested combinations of 'autoconf' and PostgreSQL versions are not
Expand Down Expand Up @@ -2444,7 +2444,7 @@ else
fi

AC_DEFINE_UNQUOTED(PG_VERSION_STR,
["PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"],
["Percona Server for PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"],
[A string containing the version number, platform, and C compiler])

# Supply a numeric version string for use by 3rd party add-ons
Expand Down
2 changes: 1 addition & 1 deletion contrib/oid2name/oid2name.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ get_opts(int argc, char **argv, struct options *my_opts)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("oid2name (PostgreSQL) " PG_VERSION);
puts("oid2name (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion contrib/vacuumlo/vacuumlo.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("vacuumlo (PostgreSQL) " PG_VERSION);
puts("vacuumlo (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

project('postgresql',
['c'],
version: '17rc1',
version: '17rc1.1',
license: 'PostgreSQL',

# We want < 0.56 for python 3.5 compatibility on old platforms. EPEL for
Expand Down Expand Up @@ -2767,7 +2767,7 @@ cdata.set_quoted('DLSUFFIX', dlsuffix)

# built later than the rest of the version metadata, we need SIZEOF_VOID_P
cdata.set_quoted('PG_VERSION_STR',
'PostgreSQL @0@ on @1@-@2@, compiled by @3@-@4@, @5@-bit'.format(
'Percona Server for PostgreSQL @0@ on @1@-@2@, compiled by @3@-@4@, @5@-bit'.format(
pg_version, host_machine.cpu_family(), host_system,
cc.get_id(), cc.version(), cdata.get('SIZEOF_VOID_P') * 8,
)
Expand Down
2 changes: 1 addition & 1 deletion src/bin/initdb/initdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@ main(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("initdb (PostgreSQL) " PG_VERSION);
puts("initdb (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_archivecleanup/pg_archivecleanup.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_archivecleanup (PostgreSQL) " PG_VERSION);
puts("pg_archivecleanup (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_basebackup/pg_basebackup.c
Original file line number Diff line number Diff line change
Expand Up @@ -2415,7 +2415,7 @@ main(int argc, char **argv)
else if (strcmp(argv[1], "-V") == 0
|| strcmp(argv[1], "--version") == 0)
{
puts("pg_basebackup (PostgreSQL) " PG_VERSION);
puts("pg_basebackup (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/bin/pg_basebackup/pg_createsubscriber.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ get_exec_path(const char *argv0, const char *progname)
char *exec_path;
int ret;

versionstr = psprintf("%s (PostgreSQL) %s\n", progname, PG_VERSION);
versionstr = psprintf("%s (Percona Server for PostgreSQL) %s\n", progname, PG_VERSION);
exec_path = pg_malloc(MAXPGPATH);
ret = find_other_exec(argv0, progname, versionstr, exec_path);

Expand Down Expand Up @@ -1916,7 +1916,7 @@ main(int argc, char **argv)
else if (strcmp(argv[1], "-V") == 0
|| strcmp(argv[1], "--version") == 0)
{
puts("pg_createsubscriber (PostgreSQL) " PG_VERSION);
puts("pg_createsubscriber (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_basebackup/pg_receivewal.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ main(int argc, char **argv)
else if (strcmp(argv[1], "-V") == 0 ||
strcmp(argv[1], "--version") == 0)
{
puts("pg_receivewal (PostgreSQL) " PG_VERSION);
puts("pg_receivewal (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_basebackup/pg_recvlogical.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ main(int argc, char **argv)
else if (strcmp(argv[1], "-V") == 0 ||
strcmp(argv[1], "--version") == 0)
{
puts("pg_recvlogical (PostgreSQL) " PG_VERSION);
puts("pg_recvlogical (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_checksums/pg_checksums.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ main(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_checksums (PostgreSQL) " PG_VERSION);
puts("pg_checksums (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_controldata/pg_controldata.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ main(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_controldata (PostgreSQL) " PG_VERSION);
puts("pg_controldata (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/bin/pg_ctl/pg_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ do_init(void)
char *cmd;

if (exec_path == NULL)
exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (PostgreSQL) " PG_VERSION "\n");
exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (Percona Server for PostgreSQL) " PG_VERSION "\n");

if (pgdata_opt == NULL)
pgdata_opt = "";
Expand Down Expand Up @@ -2233,7 +2233,7 @@ main(int argc, char **argv)
}
else if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_ctl (PostgreSQL) " PG_VERSION);
puts("pg_ctl (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_dump/pg_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_dump (PostgreSQL) " PG_VERSION);
puts("pg_dump (Percona Server for PostgreSQL) " PG_VERSION);
exit_nicely(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/bin/pg_dump/pg_dumpall.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "pg_backup.h"

/* version string we expect back from pg_dump */
#define PGDUMP_VERSIONSTR "pg_dump (PostgreSQL) " PG_VERSION "\n"
#define PGDUMP_VERSIONSTR "pg_dump (Percona Server for PostgreSQL) " PG_VERSION "\n"

typedef struct
{
Expand Down Expand Up @@ -214,7 +214,7 @@ main(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_dumpall (PostgreSQL) " PG_VERSION);
puts("pg_dumpall (Percona Server for PostgreSQL) " PG_VERSION);
exit_nicely(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_dump/pg_restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_restore (PostgreSQL) " PG_VERSION);
puts("pg_restore (Percona Server for PostgreSQL) " PG_VERSION);
exit_nicely(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_resetwal/pg_resetwal.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ main(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_resetwal (PostgreSQL) " PG_VERSION);
puts("pg_resetwal (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_rewind/pg_rewind.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_rewind (PostgreSQL) " PG_VERSION);
puts("pg_rewind (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_test_fsync/pg_test_fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ handle_args(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_test_fsync (PostgreSQL) " PG_VERSION);
puts("pg_test_fsync (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_test_timing/pg_test_timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ handle_args(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_test_timing (PostgreSQL) " PG_VERSION);
puts("pg_test_timing (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_upgrade/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ check_exec(const char *dir, const char *program, bool check_version)
{
pg_strip_crlf(line);

snprintf(versionstr, sizeof(versionstr), "%s (PostgreSQL) " PG_VERSION, program);
snprintf(versionstr, sizeof(versionstr), "%s (Percona Server for PostgreSQL) " PG_VERSION, program);

if (strcmp(line, versionstr) != 0)
pg_fatal("check for \"%s\" failed: incorrect version: found \"%s\", expected \"%s\"",
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_upgrade/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ parseCommandLine(int argc, char *argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_upgrade (PostgreSQL) " PG_VERSION);
puts("pg_upgrade (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/bin/pg_verifybackup/pg_verifybackup.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_verifybackup (PostgreSQL) " PG_VERSION);
puts("pg_verifybackup (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down Expand Up @@ -310,7 +310,7 @@ main(int argc, char **argv)

pg_waldump_path = pg_malloc(MAXPGPATH);
ret = find_other_exec(argv[0], "pg_waldump",
"pg_waldump (PostgreSQL) " PG_VERSION "\n",
"pg_waldump (Percona Server for PostgreSQL) " PG_VERSION "\n",
pg_waldump_path);
if (ret < 0)
{
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_waldump/pg_waldump.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pg_waldump (PostgreSQL) " PG_VERSION);
puts("pg_waldump (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pgbench/pgbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -6723,7 +6723,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
puts("pgbench (PostgreSQL) " PG_VERSION);
puts("pgbench (Percona Server for PostgreSQL) " PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/psql/startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ process_psqlrc_file(char *filename)
static void
showVersion(void)
{
puts("psql (PostgreSQL) " PG_VERSION);
puts("psql (Percona Server for PostgreSQL) " PG_VERSION);
}


Expand Down
2 changes: 1 addition & 1 deletion src/fe_utils/option_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ handle_help_version_opts(int argc, char *argv[],
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
printf("%s (PostgreSQL) " PG_VERSION "\n", fixed_progname);
printf("%s (Percona Server for PostgreSQL) " PG_VERSION "\n", fixed_progname);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/include/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extern int find_other_exec(const char *argv0, const char *target,
extern char *pipe_read_line(char *cmd);

/* Doesn't belong here, but this is used with find_other_exec(), so... */
#define PG_BACKEND_VERSIONSTR "postgres (PostgreSQL) " PG_VERSION "\n"
#define PG_BACKEND_VERSIONSTR "postgres (Percona Server for PostgreSQL) " PG_VERSION "\n"

#ifdef EXEC_BACKEND
/* Disable ASLR before exec, for developer builds only (in exec.c) */
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ecpg/preproc/ecpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ main(int argc, char *const argv[])
}
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
{
printf("ecpg (PostgreSQL) %s\n", PG_VERSION);
printf("ecpg (Percona Server for PostgreSQL) %s\n", PG_VERSION);
exit(0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/isolation/isolation_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ char saved_argv0[MAXPGPATH];
char isolation_exec[MAXPGPATH];
bool looked_up_isolation_exec = false;

#define PG_ISOLATION_VERSIONSTR "isolationtester (PostgreSQL) " PG_VERSION "\n"
#define PG_ISOLATION_VERSIONSTR "isolationtester (Percona Server for PostgreSQL) " PG_VERSION "\n"

/*
* start an isolation tester process for specified file (including
Expand Down
Loading

0 comments on commit 6aba5b5

Please sign in to comment.