Skip to content

Commit 8bdc710

Browse files
committed
Initialize filer_mask to ~0 to correctly handle queries without filter by parallel workers
1 parent d153055 commit 8bdc710

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vops.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@
4949
PG_MODULE_MAGIC;
5050
#endif
5151

52+
#if !USE_FLOAT8_BYVAL
53+
#error VOPS requires 64-bit version of Postgres
54+
#endif
55+
5256
/* pg module functions */
5357
void _PG_init(void);
5458
void _PG_fini(void);
5559

56-
uint64 filter_mask;
60+
uint64 filter_mask = ~0;
5761

5862
static struct {
5963
char const* name;

0 commit comments

Comments
 (0)