Skip to content

Commit

Permalink
Fix issue #100, CREATE EXTENSION fails due to missing sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbasb committed Mar 21, 2018
1 parent 83ed3ee commit 35fe193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.legacy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PG_CPPFLAGS = --std=c99 -I$(MONGO_PATH) -I$(LIBJSON)
OBJS = connection.o option.o mongo_wrapper.o mongo_fdw.o mongo_query.o $(MONGO_OBJS) $(LIBJSON_OBJS)

EXTENSION = mongo_fdw
DATA = mongo_fdw--1.0.sql
DATA = mongo_fdw--1.0.sql mongo_fdw--1.1.sql mongo_fdw--1.0--1.1.sql

REGRESS = mongo_fdw
REGRESS_OPTS = --load-extension=$(EXTENSION)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.meta
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OBJS = connection.o option.o mongo_wrapper_meta.o mongo_fdw.o mongo_query.o $(LI


EXTENSION = mongo_fdw
DATA = mongo_fdw--1.0.sql
DATA = mongo_fdw--1.0.sql mongo_fdw--1.1.sql mongo_fdw--1.0--1.1.sql

REGRESS = mongo_fdw
REGRESS_OPTS = --load-extension=$(EXTENSION)
Expand Down
2 changes: 1 addition & 1 deletion mongo_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
* In PG 9.5.1 the number will be 90501,
* our version is 5.1.0 so number will be 50100
*/
#define CODE_VERSION 50200
#define CODE_VERSION 50201


/* Local functions forward declarations */
Expand Down

0 comments on commit 35fe193

Please sign in to comment.