We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767de7d commit 9720164Copy full SHA for 9720164
contrib/worker_spi/worker_spi.c
@@ -120,7 +120,7 @@ initialize_worker_spi(worktable *table)
120
if (SPI_processed != 1)
121
elog(FATAL, "not a singleton result");
122
123
- ntup = DatumGetInt32(SPI_getbinval(SPI_tuptable->vals[0],
+ ntup = DatumGetInt64(SPI_getbinval(SPI_tuptable->vals[0],
124
SPI_tuptable->tupdesc,
125
1, &isnull));
126
if (isnull)
0 commit comments