@@ -170,9 +170,6 @@ BEGIN
170170NULL );
171171END IF;
172172
173- /* Notify backend about changes*/
174- PERFORM @extschema@.on_create_partitions(parent_relid);
175-
176173/* Relocate data if asked to*/
177174IF partition_data= true THEN
178175PERFORM @extschema@.set_enable_parent(parent_relid, false);
@@ -268,9 +265,6 @@ BEGIN
268265NULL );
269266END IF;
270267
271- /* Notify backend about changes*/
272- PERFORM @extschema@.on_create_partitions(parent_relid);
273-
274268/* Relocate data if asked to*/
275269IF partition_data= true THEN
276270PERFORM @extschema@.set_enable_parent(parent_relid, false);
@@ -327,9 +321,6 @@ BEGIN
327321 partition_names,
328322 tablespaces);
329323
330- /* Notify backend about changes*/
331- PERFORM @extschema@.on_create_partitions(parent_relid);
332-
333324/* Relocate data if asked to*/
334325IF partition_data= true THEN
335326PERFORM @extschema@.set_enable_parent(parent_relid, false);
@@ -387,9 +378,6 @@ BEGIN
387378part_count := part_count+ 1 ;
388379END LOOP;
389380
390- /* Notify backend about changes*/
391- PERFORM @extschema@.on_create_partitions(parent_relid);
392-
393381/* Relocate data if asked to*/
394382IF partition_data= true THEN
395383PERFORM @extschema@.set_enable_parent(parent_relid, false);
@@ -450,9 +438,6 @@ BEGIN
450438part_count := part_count+ 1 ;
451439END LOOP;
452440
453- /* Notify backend about changes*/
454- PERFORM @extschema@.on_create_partitions(parent_relid);
455-
456441/* Relocate data if asked to*/
457442IF partition_data= true THEN
458443PERFORM @extschema@.set_enable_parent(parent_relid, false);
@@ -553,9 +538,6 @@ BEGIN
553538 partition_relid::TEXT ,
554539 v_check_name,
555540 v_cond);
556-
557- /* Tell backend to reload configuration*/
558- PERFORM @extschema@.on_update_partitions(v_parent);
559541END
560542$$
561543LANGUAGE plpgsql;
@@ -617,8 +599,6 @@ BEGIN
617599INTO
618600v_part_name;
619601
620- /* Invalidate cache*/
621- PERFORM @extschema@.on_update_partitions(parent_relid);
622602RETURN v_part_name;
623603END
624604$$
@@ -727,8 +707,6 @@ BEGIN
727707INTO
728708v_part_name;
729709
730- /* Invalidate cache*/
731- PERFORM @extschema@.on_update_partitions(parent_relid);
732710RETURN v_part_name;
733711END
734712$$
@@ -830,7 +808,6 @@ BEGIN
830808 end_value,
831809 partition_name,
832810 tablespace);
833- PERFORM @extschema@.on_update_partitions(parent_relid);
834811
835812RETURN v_part_name;
836813END
@@ -895,9 +872,6 @@ BEGIN
895872EXECUTE format(' DROP TABLE %s' , partition_relid::TEXT );
896873END IF;
897874
898- /* Invalidate cache*/
899- PERFORM @extschema@.on_update_partitions(parent_relid);
900-
901875RETURN part_name;
902876END
903877$$
@@ -980,9 +954,6 @@ BEGIN
980954 start_value,
981955 end_value);
982956
983- /* Invalidate cache*/
984- PERFORM @extschema@.on_update_partitions(parent_relid);
985-
986957RETURN partition_relid;
987958END
988959$$
@@ -1028,9 +999,6 @@ BEGIN
1028999 @extschema@.build_update_trigger_name(parent_relid),
10291000 partition_relid::TEXT );
10301001
1031- /* Invalidate cache*/
1032- PERFORM @extschema@.on_update_partitions(parent_relid);
1033-
10341002RETURN partition_relid;
10351003END
10361004$$