Skip to content

Commit

Permalink
Start work on v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vik Fearing committed Sep 12, 2019
1 parent 723f0b5 commit a658893
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
MODULES = periods
EXTENSION = periods
DATA = periods--1.0.sql
DOCS = README.periods

DATA = periods--1.0.sql \
periods--1.0--1.1.sql

REGRESS = install \
periods \
system_time_periods \
Expand Down
12 changes: 11 additions & 1 deletion expected/install.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* Once support for 9.5 has passed, use CASCADE */
CREATE EXTENSION IF NOT EXISTS btree_gist;
CREATE EXTENSION periods;
/* Once support for 9.6 has passed, just create the extension */
CREATE EXTENSION periods VERSION '1.0';
ALTER EXTENSION periods UPDATE TO '1.1';
SELECT extversion
FROM pg_extension
WHERE extname = 'periods';
extversion
------------
1.1
(1 row)

Empty file added periods--1.0--1.1.sql
Empty file.
8 changes: 7 additions & 1 deletion sql/install.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Once support for 9.5 has passed, use CASCADE */
CREATE EXTENSION IF NOT EXISTS btree_gist;
CREATE EXTENSION periods;
/* Once support for 9.6 has passed, just create the extension */
CREATE EXTENSION periods VERSION '1.0';
ALTER EXTENSION periods UPDATE TO '1.1';

SELECT extversion
FROM pg_extension
WHERE extname = 'periods';

0 comments on commit a658893

Please sign in to comment.