@@ -134,7 +134,7 @@ create_single_range_partition_internal(Oid parent_relid,
134134
135135 /* Cook args for init_callback */
136136 MakeInitCallbackRangeParams (& callback_params ,
137- DEFAULT_INIT_CALLBACK ,
137+ DEFAULT_PATHMAN_INIT_CALLBACK ,
138138 parent_relid , partition_relid ,
139139 * start_value , * end_value , value_type );
140140
@@ -193,7 +193,7 @@ create_single_hash_partition_internal(Oid parent_relid,
193193
194194 /* Cook args for init_callback */
195195 MakeInitCallbackHashParams (& callback_params ,
196- DEFAULT_INIT_CALLBACK ,
196+ DEFAULT_PATHMAN_INIT_CALLBACK ,
197197 parent_relid , partition_relid );
198198
199199 /* Add constraint & execute init_callback */
@@ -263,8 +263,8 @@ create_partitions_for_value(Oid relid, Datum value, Oid value_type)
263263 if (pathman_config_contains_relation (relid , NULL , NULL , & rel_xmin , NULL ))
264264 {
265265 /* Take default values */
266- bool spawn_using_bgw = DEFAULT_SPAWN_USING_BGW ,
267- enable_auto = DEFAULT_AUTO ;
266+ bool spawn_using_bgw = DEFAULT_PATHMAN_SPAWN_USING_BGW ,
267+ enable_auto = DEFAULT_PATHMAN_AUTO ;
268268
269269 /* Values to be extracted from PATHMAN_CONFIG_PARAMS */
270270 Datum values [Natts_pathman_config_params ];
@@ -835,7 +835,7 @@ create_table_using_stmt(CreateStmt *create_stmt, Oid relowner)
835835 guc_level = NewGUCNestLevel ();
836836
837837 /* ... and set client_min_messages = warning */
838- (void ) set_config_option (" client_min_messages" , "WARNING" ,
838+ (void ) set_config_option (CppAsString ( client_min_messages ) , "WARNING" ,
839839 PGC_USERSET , PGC_S_SESSION ,
840840 GUC_ACTION_SAVE , true, 0 , false);
841841
@@ -1683,7 +1683,7 @@ validate_part_callback(Oid procid, bool emit_error)
16831683 Form_pg_proc functup ;
16841684 bool is_ok = true;
16851685
1686- if (procid == DEFAULT_INIT_CALLBACK )
1686+ if (procid == DEFAULT_PATHMAN_INIT_CALLBACK )
16871687 return true;
16881688
16891689 tp = SearchSysCache1 (PROCOID , ObjectIdGetDatum (procid ));
0 commit comments