aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-02-08 05:53:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-02-08 05:53:55 +0000
commit9a75803b1a4ba01c1e02284146fa7cf8a0cf8cd1 (patch)
treeed4cfb7a33d80d0ea5662aa9ac4f05301f0698e4 /src/backend/utils/adt/array_userfuncs.c
parent68446b2c87a2aee5d8c2eb2aade7bb6d4195b7e1 (diff)
downloadpostgresql-9a75803b1a4ba01c1e02284146fa7cf8a0cf8cd1.tar.gz
postgresql-9a75803b1a4ba01c1e02284146fa7cf8a0cf8cd1.zip
Remove CatalogCacheFlushRelation, and the reloidattr infrastructure that was
needed by nothing else. The restructuring I just finished doing on cache management exposed to me how silly this routine was. Its function was to go into the catcache and blow away all entries related to a given relation when there was a relcache flush on that relation. However, there is no point in removing a catcache entry if the catalog row it represents is still valid --- and if it isn't valid, there must have been a catcache entry flush on it, because that's triggered directly by heap_update or heap_delete on the catalog row. So this routine accomplished nothing except to blow away valid cache entries that we'd very likely be wanting in the near future to help reconstruct the relcache entry. Dumb. On top of which, it required a subtle and easy-to-get-wrong attribute in syscache definitions, ie, the column containing the OID of the related relation if any. Removing that is a very useful maintenance simplification.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions