@@ -251,7 +251,7 @@ LANGUAGE plpgsql;
251
251
CREATEOR REPLACE FUNCTION @extschema@.show_partition_list()
252
252
RETURNS TABLE (
253
253
parentREGCLASS,
254
- " partition" REGCLASS,
254
+ partition REGCLASS,
255
255
parttypeINT4,
256
256
partattrTEXT ,
257
257
range_minTEXT ,
@@ -643,21 +643,21 @@ SET pg_pathman.enable_partitionfilter = off; /* ensures that PartitionFilter is
643
643
*/
644
644
CREATEOR REPLACE FUNCTION @extschema@.copy_foreign_keys(
645
645
parent_relidREGCLASS,
646
- partition_relid REGCLASS)
646
+ partition REGCLASS)
647
647
RETURNS VOIDAS
648
648
$$
649
649
DECLARE
650
650
recRECORD;
651
651
652
652
BEGIN
653
653
PERFORM @extschema@.validate_relname(parent_relid);
654
- PERFORM @extschema@.validate_relname(partition_relid );
654
+ PERFORM @extschema@.validate_relname(partition );
655
655
656
656
FOR recIN (SELECT oid as conidFROM pg_catalog .pg_constraint
657
657
WHERE conrelid= parent_relidAND contype= ' f' )
658
658
LOOP
659
659
EXECUTE format(' ALTER TABLE %s ADD %s' ,
660
- partition_relid ::TEXT ,
660
+ partition ::TEXT ,
661
661
pg_catalog .pg_get_constraintdef (rec .conid ));
662
662
END LOOP;
663
663
END
@@ -880,7 +880,7 @@ LANGUAGE C STRICT;
880
880
*/
881
881
CREATEOR REPLACE FUNCTION @extschema@.invoke_on_partition_created_callback(
882
882
parent_relidREGCLASS,
883
- " partition" REGCLASS,
883
+ partitionREGCLASS,
884
884
init_callbackREGPROCEDURE,
885
885
start_valueANYELEMENT,
886
886
end_valueANYELEMENT)
@@ -892,7 +892,7 @@ LANGUAGE C;
892
892
*/
893
893
CREATEOR REPLACE FUNCTION @extschema@.invoke_on_partition_created_callback(
894
894
parent_relidREGCLASS,
895
- " partition" REGCLASS,
895
+ partitionREGCLASS,
896
896
init_callbackREGPROCEDURE)
897
897
RETURNS VOIDAS ' pg_pathman' ,' invoke_on_partition_created_callback'
898
898
LANGUAGE C;