diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a7dac80f..d9ef6e743 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### citus v9.0.1 (October 25, 2019) ### + +* Fixes a memory leak in the executor + +* Revokes usage from the citus schema from public + ### citus v9.0.0 (October 7, 2019) ### * Adds support for PostgreSQL 12 diff --git a/configure b/configure index 98102ee97..97f04a81e 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 9.0devel. +# Generated by GNU Autoconf 2.69 for Citus 9.1devel. # # # 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='9.0devel' -PACKAGE_STRING='Citus 9.0devel' +PACKAGE_VERSION='9.1devel' +PACKAGE_STRING='Citus 9.1devel' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1251,7 +1251,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 9.0devel to adapt to many kinds of systems. +\`configure' configures Citus 9.1devel to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1313,7 +1313,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Citus 9.0devel:";; + short | recursive ) echo "Configuration of Citus 9.1devel:";; esac cat <<\_ACEOF @@ -1413,7 +1413,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Citus configure 9.0devel +Citus configure 9.1devel generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1896,7 +1896,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 9.0devel, which was +It was created by Citus $as_me 9.1devel, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -5000,7 +5000,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 9.0devel, which was +This file was extended by Citus $as_me 9.1devel, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5062,7 +5062,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 9.0devel +Citus config.status 9.1devel configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.in b/configure.in index 9a649b809..13d100d68 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], [9.0devel]) +AC_INIT([Citus], [9.1devel]) AC_COPYRIGHT([Copyright (c) Citus Data, Inc.]) # we'll need sed and awk for some of the version commands diff --git a/src/test/regress/expected/multi_extension.out b/src/test/regress/expected/multi_extension.out index be50e54b7..4946909b3 100644 --- a/src/test/regress/expected/multi_extension.out +++ b/src/test/regress/expected/multi_extension.out @@ -109,11 +109,13 @@ ALTER EXTENSION citus UPDATE TO '8.2-3'; ALTER EXTENSION citus UPDATE TO '8.2-4'; ALTER EXTENSION citus UPDATE TO '8.3-1'; ALTER EXTENSION citus UPDATE TO '9.0-1'; +ALTER EXTENSION citus UPDATE TO '9.0-2'; +ALTER EXTENSION citus UPDATE TO '9.1-1'; -- show running version SHOW citus.version; citus.version --------------- - 9.0devel + 9.1devel (1 row) -- ensure no objects were created outside pg_catalog @@ -135,7 +137,7 @@ RESET citus.enable_version_checks; DROP EXTENSION citus; CREATE EXTENSION citus VERSION '7.0-1'; ERROR: specified version incompatible with loaded Citus library -DETAIL: Loaded library requires 9.0, but 7.0-1 was specified. +DETAIL: Loaded library requires 9.1, but 7.0-1 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'; @@ -178,7 +180,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 9.0, but the installed extension version is 7.1-1. +DETAIL: Loaded library requires 9.1, but the installed extension version is 7.1-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.master_dist_authinfo_cache_invalidate() @@ -278,7 +280,7 @@ FROM test.maintenance_worker(); CREATE SCHEMA test_deamon; -- we create a similar function on the regression database -- note that this function checks for the existence of the daemon --- when not found, returns true else tries for 5 times and +-- when not found, returns true else tries for 5 times and -- returns false CREATE OR REPLACE FUNCTION test_deamon.maintenance_deamon_died(p_dbname text) RETURNS boolean @@ -301,9 +303,9 @@ END; $$; -- drop the database and see that the deamon is dead DROP DATABASE another; -SELECT +SELECT * -FROM +FROM test_deamon.maintenance_deamon_died('another'); maintenance_deamon_died ------------------------- diff --git a/src/test/regress/sql/multi_extension.sql b/src/test/regress/sql/multi_extension.sql index 868c69c87..4c4bdb9f0 100644 --- a/src/test/regress/sql/multi_extension.sql +++ b/src/test/regress/sql/multi_extension.sql @@ -110,6 +110,8 @@ ALTER EXTENSION citus UPDATE TO '8.2-3'; ALTER EXTENSION citus UPDATE TO '8.2-4'; ALTER EXTENSION citus UPDATE TO '8.3-1'; ALTER EXTENSION citus UPDATE TO '9.0-1'; +ALTER EXTENSION citus UPDATE TO '9.0-2'; +ALTER EXTENSION citus UPDATE TO '9.1-1'; -- show running version SHOW citus.version; @@ -261,7 +263,7 @@ CREATE SCHEMA test_deamon; -- we create a similar function on the regression database -- note that this function checks for the existence of the daemon --- when not found, returns true else tries for 5 times and +-- when not found, returns true else tries for 5 times and -- returns false CREATE OR REPLACE FUNCTION test_deamon.maintenance_deamon_died(p_dbname text) RETURNS boolean @@ -285,9 +287,9 @@ $$; -- drop the database and see that the deamon is dead DROP DATABASE another; -SELECT +SELECT * -FROM +FROM test_deamon.maintenance_deamon_died('another'); -- we don't need the schema and the function anymore