Stamp 5.1 release.

pull/493/head
Andres Freund 2016-05-04 18:05:41 -07:00
parent 4d7bcfdd35
commit 5f282dd241
5 changed files with 11 additions and 2 deletions

View File

@ -5,7 +5,9 @@ citus_top_builddir = ../../..
MODULE_big = citus
EXTENSION = citus
EXTVERSIONS = 5.0 5.0-1 5.0-2
EXTVERSIONS = 5.0 5.0-1 5.0-2 \
5.1-1
# All citus--*.sql files in the source directory
DATA = $(patsubst $(citus_abs_srcdir)/%.sql,%.sql,$(wildcard $(citus_abs_srcdir)/$(EXTENSION)--*--*.sql))
# Generated files for each version
@ -31,6 +33,8 @@ $(EXTENSION)--5.0-1.sql: $(EXTENSION)--5.0.sql $(EXTENSION)--5.0--5.0-1.sql
cat $^ > $@
$(EXTENSION)--5.0-2.sql: $(EXTENSION)--5.0-1.sql $(EXTENSION)--5.0-1--5.0-2.sql
cat $^ > $@
$(EXTENSION)--5.1-1.sql: $(EXTENSION)--5.0-2.sql $(EXTENSION)--5.0-2--5.1-1.sql
cat $^ > $@
NO_PGXS = 1

View File

@ -0,0 +1,3 @@
/* citus--5.0-2--5.1-1.sql */
/* empty, but required to update the extension version */

View File

@ -1,6 +1,6 @@
# Citus extension
comment = 'Citus distributed database'
default_version = '5.0-2'
default_version = '5.1-1'
module_pathname = '$libdir/citus'
relocatable = false
schema = pg_catalog

View File

@ -12,6 +12,7 @@ DROP EXTENSION citus;
CREATE EXTENSION citus VERSION '5.0';
ALTER EXTENSION citus UPDATE TO '5.0-1';
ALTER EXTENSION citus UPDATE TO '5.0-2';
ALTER EXTENSION citus UPDATE TO '5.1-1';
-- drop extension an re-create in newest version
DROP EXTENSION citus;
\c

View File

@ -14,6 +14,7 @@ DROP EXTENSION citus;
CREATE EXTENSION citus VERSION '5.0';
ALTER EXTENSION citus UPDATE TO '5.0-1';
ALTER EXTENSION citus UPDATE TO '5.0-2';
ALTER EXTENSION citus UPDATE TO '5.1-1';
-- drop extension an re-create in newest version
DROP EXTENSION citus;