Skip to content

Commit 32533d1

Browse files
df7cbmsdemlei
authored andcommitted
PG13 compatibility
1 parent 4c86b29 commit 32533d1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ build:9.6: { <<: *build, variables: { PGVERSION: '9.6' } }
1919
build:10: { <<: *build, variables: { PGVERSION: '10' } }
2020
build:11: { <<: *build, variables: { PGVERSION: '11' } }
2121
build:12: { <<: *build, variables: { PGVERSION: '12' } }
22+
build:13: { <<: *build, variables: { PGVERSION: '13' } }

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
- PG_SUPPORTED_VERSIONS=10
99
- PG_SUPPORTED_VERSIONS=11
1010
- PG_SUPPORTED_VERSIONS=12
11-
#- PG_SUPPORTED_VERSIONS=13
11+
- PG_SUPPORTED_VERSIONS=13
1212

1313
language: C
1414
dist: bionic

pgs_moc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
#include <postgres.h>
99
#include <fmgr.h>
1010
#include <catalog/pg_type.h>
11+
#if PG_VERSION_NUM >= 130000
12+
#include <access/detoast.h>
13+
#else
1114
#include <access/tuptoaster.h>
15+
#endif
1216

1317
#include "point.h" /* SPoint */
1418

0 commit comments

Comments
 (0)