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.
2 parents 477a0dd + 8249f7e commit e26ec10Copy full SHA for e26ec10
contrib/pg_pathman/src/partition_creation.h
@@ -97,7 +97,7 @@ typedef struct
97
{
98
struct
99
100
- /* nothing */
+ void *none; /* nothing (struct should have at least 1 element) */
101
} hash_params;
102
103
@@ -130,9 +130,9 @@ typedef struct
130
do \
131
{ \
132
memset((void *) (params_p), 0, sizeof(init_callback_params)); \
133
+ (params_p)->cb_type = PT_INIT_CALLBACK; \
134
(params_p)->callback = (cb); \
135
(params_p)->callback_is_cached = false; \
- (params_p)->cb_type = PT_INIT_CALLBACK; \
136
(params_p)->parttype = PT_HASH; \
137
(params_p)->parent_relid = (parent); \
138
(params_p)->partition_relid = (child); \
0 commit comments