@@ -830,9 +830,7 @@ read_pathman_config(void)
830830 {
831831 Datum values [Natts_pathman_config ];
832832 bool isnull [Natts_pathman_config ];
833- Oid relid ; /* partitioned table */
834- PartType parttype ; /* partitioning type */
835- text * attname ; /* partitioned column name */
833+ Oid relid ; /* partitioned table */
836834
837835 /* Extract Datums from tuple 'htup' */
838836 heap_deform_tuple (htup , RelationGetDescr (rel ), values , isnull );
@@ -844,8 +842,6 @@ read_pathman_config(void)
844842
845843 /* Extract values from Datums */
846844 relid = DatumGetObjectId (values [Anum_pathman_config_partrel - 1 ]);
847- parttype = DatumGetPartType (values [Anum_pathman_config_parttype - 1 ]);
848- attname = DatumGetTextP (values [Anum_pathman_config_attname - 1 ]);
849845
850846 /* Check that relation 'relid' exists */
851847 if (get_rel_type_id (relid ) == InvalidOid )
@@ -857,10 +853,8 @@ read_pathman_config(void)
857853 errhint (INIT_ERROR_HINT )));
858854 }
859855
860- /* Create or update PartRelationInfo for this partitioned table */
861- refresh_pathman_relation_info (relid , parttype ,
862- text_to_cstring (attname ),
863- true); /* allow lazy prel loading */
856+ /* get_pathman_relation_info() will refresh this entry */
857+ invalidate_pathman_relation_info (relid , NULL );
864858 }
865859
866860 /* Clean resources */
0 commit comments