@@ -134,7 +134,7 @@ create_single_range_partition_internal(Oid parent_relid,
134134
135135/* Cook args for init_callback */
136136MakeInitCallbackRangeParams (& callback_params ,
137- DEFAULT_INIT_CALLBACK ,
137+ DEFAULT_PATHMAN_INIT_CALLBACK ,
138138parent_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 */
195195MakeInitCallbackHashParams (& callback_params ,
196- DEFAULT_INIT_CALLBACK ,
196+ DEFAULT_PATHMAN_INIT_CALLBACK ,
197197parent_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)
263263if (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 */
270270Datum values [Natts_pathman_config_params ];
@@ -835,7 +835,7 @@ create_table_using_stmt(CreateStmt *create_stmt, Oid relowner)
835835guc_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" ,
839839PGC_USERSET ,PGC_S_SESSION ,
840840GUC_ACTION_SAVE , true,0 , false);
841841
@@ -1683,7 +1683,7 @@ validate_part_callback(Oid procid, bool emit_error)
16831683Form_pg_proc functup ;
16841684bool is_ok = true;
16851685
1686- if (procid == DEFAULT_INIT_CALLBACK )
1686+ if (procid == DEFAULT_PATHMAN_INIT_CALLBACK )
16871687return true;
16881688
16891689tp = SearchSysCache1 (PROCOID ,ObjectIdGetDatum (procid ));