Skip to content

Commit 11b9c8c

Browse files
committed
Fixed incompatibility with MSVC 2013 in pg_query_state
1 parent 49c7498 commit 11b9c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_query_state/pg_query_state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ pg_query_state(PG_FUNCTION_ARGS)
477477
FuncCallContext *funcctx;
478478
MemoryContext oldcontext;
479479
pg_qs_fctx *fctx;
480-
const int N_ATTRS = 5;
480+
#define N_ATTRS 5
481481
pid_t pid = PG_GETARG_INT32(0);
482482

483483
if (SRF_IS_FIRSTCALL())

0 commit comments

Comments
 (0)