From bf7e2c3b902508099787b0b94e147dfb22b32d44 Mon Sep 17 00:00:00 2001 From: Muhammad Usama Date: Mon, 16 Sep 2024 16:56:14 +0500 Subject: [PATCH] PG-1008: Change product name and version number Updated product name from PostgreSQL to Percona Server for PostgreSQL and incremented the version number from 17rc1 to 17rc1.1. --- configure | 18 +++++++++--------- configure.ac | 4 ++-- contrib/oid2name/oid2name.c | 2 +- contrib/vacuumlo/vacuumlo.c | 2 +- meson.build | 4 ++-- src/bin/initdb/initdb.c | 2 +- src/bin/pg_archivecleanup/pg_archivecleanup.c | 2 +- src/bin/pg_basebackup/pg_basebackup.c | 2 +- src/bin/pg_basebackup/pg_createsubscriber.c | 4 ++-- src/bin/pg_basebackup/pg_receivewal.c | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- src/bin/pg_checksums/pg_checksums.c | 2 +- src/bin/pg_controldata/pg_controldata.c | 2 +- src/bin/pg_ctl/pg_ctl.c | 4 ++-- src/bin/pg_dump/pg_dump.c | 2 +- src/bin/pg_dump/pg_dumpall.c | 4 ++-- src/bin/pg_dump/pg_restore.c | 2 +- src/bin/pg_resetwal/pg_resetwal.c | 2 +- src/bin/pg_rewind/pg_rewind.c | 2 +- src/bin/pg_test_fsync/pg_test_fsync.c | 2 +- src/bin/pg_test_timing/pg_test_timing.c | 2 +- src/bin/pg_upgrade/exec.c | 2 +- src/bin/pg_upgrade/option.c | 2 +- src/bin/pg_verifybackup/pg_verifybackup.c | 4 ++-- src/bin/pg_waldump/pg_waldump.c | 2 +- src/bin/pgbench/pgbench.c | 2 +- src/bin/psql/startup.c | 2 +- src/fe_utils/option_utils.c | 2 +- src/include/port.h | 2 +- src/interfaces/ecpg/preproc/ecpg.c | 2 +- src/test/isolation/isolation_main.c | 2 +- src/test/isolation/isolationtester.c | 2 +- src/test/regress/pg_regress.c | 2 +- 33 files changed, 47 insertions(+), 47 deletions(-) diff --git a/configure b/configure index 5f70dc964abe6..b9d31e818531c 100755 --- a/configure +++ b/configure @@ -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='pgsql-bugs@lists.postgresql.org' PACKAGE_URL='https://www.postgresql.org/' @@ -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 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]... @@ -1515,7 +1515,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 @@ -1690,7 +1690,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. @@ -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 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 $@ @@ -19188,7 +19188,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 @@ -19786,7 +19786,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 @@ -19857,7 +19857,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\\" diff --git a/configure.ac b/configure.ac index 23ae25b4aa858..84a9f440fdd15 100644 --- a/configure.ac +++ b/configure.ac @@ -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], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) +AC_INIT([Percona Server for PostgreSQL], [17rc1.1], [pgsql-bugs@lists.postgresql.org], [], [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 @@ -2437,7 +2437,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 diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c index e8c1e2c97bd2f..d2551a8c2cd98 100644 --- a/contrib/oid2name/oid2name.c +++ b/contrib/oid2name/oid2name.c @@ -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); } } diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c index 0d99428dec666..6b241b8b87e3f 100644 --- a/contrib/vacuumlo/vacuumlo.c +++ b/contrib/vacuumlo/vacuumlo.c @@ -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); } } diff --git a/meson.build b/meson.build index caad34185b75c..3289f41018575 100644 --- a/meson.build +++ b/meson.build @@ -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 @@ -2766,7 +2766,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, ) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index f00718a0150c2..34617d838cd81 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -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); } } diff --git a/src/bin/pg_archivecleanup/pg_archivecleanup.c b/src/bin/pg_archivecleanup/pg_archivecleanup.c index 07bf356b70cb4..369d94782c486 100644 --- a/src/bin/pg_archivecleanup/pg_archivecleanup.c +++ b/src/bin/pg_archivecleanup/pg_archivecleanup.c @@ -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); } } diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index 8f3dd04fd2226..ea582bb7836c5 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -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); } } diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 6b793931f3e84..be514c02f9003 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -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); @@ -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); } } diff --git a/src/bin/pg_basebackup/pg_receivewal.c b/src/bin/pg_basebackup/pg_receivewal.c index 555f0175f0e82..2cf046bdc5184 100644 --- a/src/bin/pg_basebackup/pg_receivewal.c +++ b/src/bin/pg_basebackup/pg_receivewal.c @@ -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); } } diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c index 3db520ed38b65..e51e92155e334 100644 --- a/src/bin/pg_basebackup/pg_recvlogical.c +++ b/src/bin/pg_basebackup/pg_recvlogical.c @@ -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); } } diff --git a/src/bin/pg_checksums/pg_checksums.c b/src/bin/pg_checksums/pg_checksums.c index 4cfb9e2c79427..d9a288b9a38c3 100644 --- a/src/bin/pg_checksums/pg_checksums.c +++ b/src/bin/pg_checksums/pg_checksums.c @@ -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); } } diff --git a/src/bin/pg_controldata/pg_controldata.c b/src/bin/pg_controldata/pg_controldata.c index 93a05d80ca7b6..2d58fcef405f1 100644 --- a/src/bin/pg_controldata/pg_controldata.c +++ b/src/bin/pg_controldata/pg_controldata.c @@ -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); } } diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 57ed8c8e294f5..d01ef5c730da1 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -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 = ""; @@ -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); } } diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 9737e1e189f48..8074d83ca7e29 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -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); } } diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index e3ad8fb295683..13a2d6ab609ad 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -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 { @@ -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); } } diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index df119591ccaa0..2558fb04d5fb5 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -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); } } diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c index e9dcb5a6d89d1..2947fd485544b 100644 --- a/src/bin/pg_resetwal/pg_resetwal.c +++ b/src/bin/pg_resetwal/pg_resetwal.c @@ -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); } } diff --git a/src/bin/pg_rewind/pg_rewind.c b/src/bin/pg_rewind/pg_rewind.c index 052c83b875702..1892db629783b 100644 --- a/src/bin/pg_rewind/pg_rewind.c +++ b/src/bin/pg_rewind/pg_rewind.c @@ -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); } } diff --git a/src/bin/pg_test_fsync/pg_test_fsync.c b/src/bin/pg_test_fsync/pg_test_fsync.c index cbf587116eafb..cf21260fadb79 100644 --- a/src/bin/pg_test_fsync/pg_test_fsync.c +++ b/src/bin/pg_test_fsync/pg_test_fsync.c @@ -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); } } diff --git a/src/bin/pg_test_timing/pg_test_timing.c b/src/bin/pg_test_timing/pg_test_timing.c index c29d6f8762947..2acc59893d706 100644 --- a/src/bin/pg_test_timing/pg_test_timing.c +++ b/src/bin/pg_test_timing/pg_test_timing.c @@ -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); } } diff --git a/src/bin/pg_upgrade/exec.c b/src/bin/pg_upgrade/exec.c index 058530ab3e9e6..7b337270d3215 100644 --- a/src/bin/pg_upgrade/exec.c +++ b/src/bin/pg_upgrade/exec.c @@ -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\"", diff --git a/src/bin/pg_upgrade/option.c b/src/bin/pg_upgrade/option.c index 548ea4e623656..d8c33658611cd 100644 --- a/src/bin/pg_upgrade/option.c +++ b/src/bin/pg_upgrade/option.c @@ -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); } } diff --git a/src/bin/pg_verifybackup/pg_verifybackup.c b/src/bin/pg_verifybackup/pg_verifybackup.c index d77e70fbe3874..7e1001a0c1535 100644 --- a/src/bin/pg_verifybackup/pg_verifybackup.c +++ b/src/bin/pg_verifybackup/pg_verifybackup.c @@ -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); } } @@ -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) { diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c index 1f9403fc5cf4b..016825f46c798 100644 --- a/src/bin/pg_waldump/pg_waldump.c +++ b/src/bin/pg_waldump/pg_waldump.c @@ -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); } } diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 86ffb3c8683d0..ddaa6925cfb2b 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -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); } } diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c index 036caaec2ffca..56c11544f8635 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -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); } diff --git a/src/fe_utils/option_utils.c b/src/fe_utils/option_utils.c index 7828ae2b2f2b2..ed7c8c3a87ade 100644 --- a/src/fe_utils/option_utils.c +++ b/src/fe_utils/option_utils.c @@ -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); } } diff --git a/src/include/port.h b/src/include/port.h index ae115d2d970d2..2867945c44baf 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -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) */ diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index 73c37631acc6e..76f5e28ba7a96 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -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); } } diff --git a/src/test/isolation/isolation_main.c b/src/test/isolation/isolation_main.c index 2a3e41d2101e7..572fd15941f7a 100644 --- a/src/test/isolation/isolation_main.c +++ b/src/test/isolation/isolation_main.c @@ -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 diff --git a/src/test/isolation/isolationtester.c b/src/test/isolation/isolationtester.c index 0b342b5c2bbba..8e97630c3f7ff 100644 --- a/src/test/isolation/isolationtester.c +++ b/src/test/isolation/isolationtester.c @@ -99,7 +99,7 @@ main(int argc, char **argv) switch (opt) { case 'V': - puts("isolationtester (PostgreSQL) " PG_VERSION); + puts("isolationtester (Percona Server for PostgreSQL) " PG_VERSION); exit(0); default: fprintf(stderr, "Usage: isolationtester [CONNINFO]\n"); diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 9ff0a2d65e217..b490a7c116439 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -2140,7 +2140,7 @@ regression_main(int argc, char *argv[], help(); exit(0); case 'V': - puts("pg_regress (PostgreSQL) " PG_VERSION); + puts("pg_regress (Percona Server for PostgreSQL) " PG_VERSION); exit(0); case 1: