File tree Expand file tree Collapse file tree 4 files changed +916
-53
lines changed Expand file tree Collapse file tree 4 files changed +916
-53
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ regression.out
99* .gcda
1010* .gcno
1111* .gcov
12- pg_pathman-- * .sql
12+ pg_pathman--1.3 .sql
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ LANGUAGE plpgsql;
251251CREATE OR REPLACE FUNCTION @extschema@.show_partition_list()
252252RETURNS TABLE (
253253 parent REGCLASS,
254- " partition" REGCLASS,
254+ partition REGCLASS,
255255 parttype INT4,
256256 partattr TEXT ,
257257 range_min TEXT ,
@@ -643,21 +643,21 @@ SET pg_pathman.enable_partitionfilter = off; /* ensures that PartitionFilter is
643643 */
644644CREATE OR REPLACE FUNCTION @extschema@.copy_foreign_keys(
645645 parent_relid REGCLASS,
646- partition_relid REGCLASS)
646+ partition REGCLASS)
647647RETURNS VOID AS
648648$$
649649DECLARE
650650 rec RECORD;
651651
652652BEGIN
653653 PERFORM @extschema@.validate_relname(parent_relid);
654- PERFORM @extschema@.validate_relname(partition_relid );
654+ PERFORM @extschema@.validate_relname(partition );
655655
656656 FOR rec IN (SELECT oid as conid FROM pg_catalog .pg_constraint
657657 WHERE conrelid = parent_relid AND contype = ' f' )
658658 LOOP
659659 EXECUTE format(' ALTER TABLE %s ADD %s' ,
660- partition_relid ::TEXT ,
660+ partition ::TEXT ,
661661 pg_catalog .pg_get_constraintdef (rec .conid ));
662662 END LOOP;
663663END
@@ -880,7 +880,7 @@ LANGUAGE C STRICT;
880880 */
881881CREATE OR REPLACE FUNCTION @extschema@.invoke_on_partition_created_callback(
882882 parent_relid REGCLASS,
883- " partition" REGCLASS,
883+ partition REGCLASS,
884884 init_callback REGPROCEDURE,
885885 start_value ANYELEMENT,
886886 end_value ANYELEMENT)
@@ -892,7 +892,7 @@ LANGUAGE C;
892892 */
893893CREATE OR REPLACE FUNCTION @extschema@.invoke_on_partition_created_callback(
894894 parent_relid REGCLASS,
895- " partition" REGCLASS,
895+ partition REGCLASS,
896896 init_callback REGPROCEDURE)
897897RETURNS VOID AS ' pg_pathman' , ' invoke_on_partition_created_callback'
898898LANGUAGE C;
You can’t perform that action at this time.
0 commit comments