Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
- PGVERSION=11
- PGVERSION=12
- PGVERSION=13
- PGVERSION=14

before_install:
- git clone -b v0.7.13 --depth 1 https://github.com/citusdata/tools.git
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif

ifeq (,$(findstring $(MAJORVERSION), 9.3 9.4 9.5 9.6 10 11 12 13))
$(error PostgreSQL 9.3 to 13 is required to compile this extension)
ifeq (,$(findstring $(MAJORVERSION), 9.3 9.4 9.5 9.6 10 11 12 13 14))
$(error PostgreSQL 9.3 to 14 is required to compile this extension)
endif

cstore.pb-c.c: cstore.proto
Expand Down
6 changes: 6 additions & 0 deletions cstore_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,13 @@ CopyOutCStoreTable(CopyStmt* copyStatement, const char* queryString)
static void
CStoreProcessAlterTableCommand(AlterTableStmt *alterStatement)
{

#if PG_VERSION_NUM >= 140000
ObjectType objectType = alterStatement->objtype;
#else
ObjectType objectType = alterStatement->relkind;
#endif

RangeVar *relationRangeVar = alterStatement->relation;
Oid relationId = InvalidOid;
List *commandList = alterStatement->cmds;
Expand Down