We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent30d0706 commitf463e0eCopy full SHA for f463e0e
src/partition_creation.c
@@ -605,15 +605,15 @@ spawn_partitions_val(Oid parent_relid,/* parent's Oid */
605
/* Construct call to create_single_range_partition() */
606
create_sql=psprintf(
607
"select %s.create_single_range_partition('%s.%s', '%s'::%s, '%s'::%s, '%s.%s')",
608
-get_namespace_name(get_pathman_schema()),
609
-parent_nsp_name,
610
-get_rel_name(parent_relid),
+quote_identifier(get_namespace_name(get_pathman_schema())),
+quote_identifier(parent_nsp_name),
+quote_identifier(get_rel_name(parent_relid)),
611
IsInfinite(&bounds[0]) ?"NULL" :datum_to_cstring(bounds[0].value,range_bound_type),
612
typname,
613
IsInfinite(&bounds[1]) ?"NULL" :datum_to_cstring(bounds[1].value,range_bound_type),
614
615
616
-partition_name
+quote_identifier(partition_name)
617
);
618
619
/* ...and call it. */