From 887aa8150d0caff3c313df5f7a605b8949c4a91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mehmet=20furkan=20=C5=9Fahin?= Date: Wed, 25 Jul 2018 11:30:59 +0300 Subject: [PATCH] Bump citus version to 8.0devel --- configure | 18 +++++++++--------- configure.in | 2 +- src/backend/distributed/Makefile | 5 ++++- .../distributed/citus--7.5-7--8.0-1.sql | 4 ++++ src/test/regress/expected/multi_extension.out | 6 +++--- windows/include/citus_version.h | 10 +++++----- 6 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 src/backend/distributed/citus--7.5-7--8.0-1.sql diff --git a/configure b/configure index 3df331dc9..d9633bb12 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Citus 7.5devel. +# Generated by GNU Autoconf 2.69 for Citus 8.0devel. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Citus' PACKAGE_TARNAME='citus' -PACKAGE_VERSION='7.5devel' -PACKAGE_STRING='Citus 7.5devel' +PACKAGE_VERSION='8.0devel' +PACKAGE_STRING='Citus 8.0devel' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1239,7 +1239,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 Citus 7.5devel to adapt to many kinds of systems. +\`configure' configures Citus 8.0devel to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1300,7 +1300,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Citus 7.5devel:";; + short | recursive ) echo "Configuration of Citus 8.0devel:";; esac cat <<\_ACEOF @@ -1400,7 +1400,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Citus configure 7.5devel +Citus configure 8.0devel generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1883,7 +1883,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 Citus $as_me 7.5devel, which was +It was created by Citus $as_me 8.0devel, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4701,7 +4701,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 Citus $as_me 7.5devel, which was +This file was extended by Citus $as_me 8.0devel, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4763,7 +4763,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="\\ -Citus config.status 7.5devel +Citus config.status 8.0devel configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.in b/configure.in index 798ffc443..fb8576852 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ # everyone needing autoconf installed, the resulting files are checked # into the SCM. -AC_INIT([Citus], [7.5devel]) +AC_INIT([Citus], [8.0devel]) AC_COPYRIGHT([Copyright (c) 2012-2017, Citus Data, Inc.]) # we'll need sed and awk for some of the version commands diff --git a/src/backend/distributed/Makefile b/src/backend/distributed/Makefile index 8a6fbb8dd..87f25a595 100644 --- a/src/backend/distributed/Makefile +++ b/src/backend/distributed/Makefile @@ -16,7 +16,8 @@ EXTVERSIONS = 5.0 5.0-1 5.0-2 \ 7.2-1 7.2-2 7.2-3 \ 7.3-1 7.3-2 7.3-3 \ 7.4-1 7.4-2 7.4-3 \ - 7.5-1 7.5-2 7.5-3 7.5-4 7.5-5 7.5-6 7.5-7 + 7.5-1 7.5-2 7.5-3 7.5-4 7.5-5 7.5-6 7.5-7 \ + 8.0-1 # All citus--*.sql files in the source directory DATA = $(patsubst $(citus_abs_srcdir)/%.sql,%.sql,$(wildcard $(citus_abs_srcdir)/$(EXTENSION)--*--*.sql)) @@ -214,6 +215,8 @@ $(EXTENSION)--7.5-6.sql: $(EXTENSION)--7.5-5.sql $(EXTENSION)--7.5-5--7.5-6.sql cat $^ > $@ $(EXTENSION)--7.5-7.sql: $(EXTENSION)--7.5-6.sql $(EXTENSION)--7.5-6--7.5-7.sql cat $^ > $@ +$(EXTENSION)--8.0-1.sql: $(EXTENSION)--7.5-7.sql $(EXTENSION)--7.5-7--8.0-1.sql + cat $^ > $@ NO_PGXS = 1 diff --git a/src/backend/distributed/citus--7.5-7--8.0-1.sql b/src/backend/distributed/citus--7.5-7--8.0-1.sql new file mode 100644 index 000000000..0bde3b3b5 --- /dev/null +++ b/src/backend/distributed/citus--7.5-7--8.0-1.sql @@ -0,0 +1,4 @@ +/* citus--7.5-7--8.0-1 */ + +/* bump version to 8.0-1 */ + diff --git a/src/test/regress/expected/multi_extension.out b/src/test/regress/expected/multi_extension.out index 8162c1db2..1e7a1cfa0 100644 --- a/src/test/regress/expected/multi_extension.out +++ b/src/test/regress/expected/multi_extension.out @@ -147,7 +147,7 @@ ALTER EXTENSION citus UPDATE TO '7.5-7'; SHOW citus.version; citus.version --------------- - 7.5devel + 8.0devel (1 row) -- ensure no objects were created outside pg_catalog @@ -169,7 +169,7 @@ RESET citus.enable_version_checks; DROP EXTENSION citus; CREATE EXTENSION citus VERSION '5.0'; ERROR: specified version incompatible with loaded Citus library -DETAIL: Loaded library requires 7.5, but 5.0 was specified. +DETAIL: Loaded library requires 8.0, but 5.0 was specified. HINT: If a newer library is present, restart the database and try the command again. -- Test non-distributed queries work even in version mismatch SET citus.enable_version_checks TO 'false'; @@ -212,7 +212,7 @@ ORDER BY 1; -- We should not distribute table in version mistmatch SELECT create_distributed_table('version_mismatch_table', 'column1'); ERROR: loaded Citus library version differs from installed extension version -DETAIL: Loaded library requires 7.5, but the installed extension version is 6.2-1. +DETAIL: Loaded library requires 8.0, but the installed extension version is 6.2-1. HINT: Run ALTER EXTENSION citus UPDATE and try again. -- This function will cause fail in next ALTER EXTENSION CREATE OR REPLACE FUNCTION pg_catalog.citus_table_size(table_name regclass) diff --git a/windows/include/citus_version.h b/windows/include/citus_version.h index 21b0ca218..01e97ad9e 100644 --- a/windows/include/citus_version.h +++ b/windows/include/citus_version.h @@ -5,19 +5,19 @@ #define CITUS_EDITION "community" /* Extension version expected by this Citus build */ -#define CITUS_EXTENSIONVERSION "7.5-7" +#define CITUS_EXTENSIONVERSION "8.0-1" /* Citus major version as a string */ -#define CITUS_MAJORVERSION "7.5" +#define CITUS_MAJORVERSION "8.0" /* Citus version as a string */ -#define CITUS_VERSION "7.5devel" +#define CITUS_VERSION "8.0devel" /* Citus version as a number */ -#define CITUS_VERSION_NUM 70500 +#define CITUS_VERSION_NUM 80000 /* A string containing the version number, platform, and C compiler */ -#define CITUS_VERSION_STR "Citus 7.5devel on x86_64-windows, compiled by Visual Studio" +#define CITUS_VERSION_STR "Citus 8.0devel on x86_64-windows, compiled by Visual Studio" /* Define to 1 if you have the `curl' library (-lcurl). */ #define HAVE_LIBCURL 0