Skip to content

Commit 3048bdc

Browse files
committed
Fix 9.6 build
1 parent d32f694 commit 3048bdc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
MODULE_big = vops
44
OBJS = vops.o vops_fdw.o deparse.o
5+
PGFILEDESC = "VOPS - vectorized operations for PostgreSQL"
6+
7+
PG_CPPFLAGS = -I$(libpq_srcdir)
8+
SHLIB_LINK = $(libpq)
59

610
EXTENSION = vops
711
DATA = vops--1.0.sql
8-
PGFILEDESC = "vops - vectorized operations"
9-
CUSTOM_COPT = -O0
12+
#CUSTOM_COPT = -O0
1013

1114
REGRESS = test
1215

vops_fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ postgresReScanForeignScan(ForeignScanState *node)
805805
{
806806
ExprState *expr_state = (ExprState *) lfirst(lc);
807807
/* Evaluate the parameter expression */
808-
#if PG_VERSION_NUM<90602
808+
#if PG_VERSION_NUM<100000
809809
ExprDoneCond isDone;
810810
values[i] = ExecEvalExpr(expr_state, econtext, &nulls[i], &isDone);
811811
#else

0 commit comments

Comments
 (0)