Skip to content

Commit 8358365

Browse files
committed
Initialize rbitmap_output_format
On cassert-enabled PG builds, DefineCustomEnumVariable() was complaining that the configured "boot" value and the initial value of the GUC didn't match. 2024-03-19 16:29:16.319 CET [1768144] myon@contrib_regression LOG: GUC (PGC_ENUM) roaringbitmap.output_format, boot_val=1, C-var=0 2024-03-19 16:29:16.319 CET [1768144] myon@contrib_regression STATEMENT: CREATE EXTENSION if not exists roaringbitmap; TRAP: failed Assert("check_GUC_init(variable)"), File: "./build/../src/backend/utils/misc/guc.c", Line: 4773, PID: 1768144
1 parent 1f5293a commit 8358365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roaringbitmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static const struct config_enum_entry output_format_options[] =
2121
{NULL, 0, false}
2222
};
2323

24-
static int rbitmap_output_format; /* output format */
24+
static int rbitmap_output_format = RBITMAP_OUTPUT_BYTEA; /* output format */
2525

2626
void _PG_init(void);
2727
/*

0 commit comments

Comments
 (0)