aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-02 17:03:50 +0530
committerRobert Haas <rhaas@postgresql.org>2017-03-02 17:03:50 +0530
commitfa42b2005f0cd825fe5a5fd4db93a7c30b5fe883 (patch)
tree7b5e4f5ccee9674bacf338599ffc73c616494282 /src/backend/utils/cache/syscache.c
parent7f3112135eb67e5df56cd34b8ce662bf6a2390e9 (diff)
downloadpostgresql-fa42b2005f0cd825fe5a5fd4db93a7c30b5fe883.tar.gz
postgresql-fa42b2005f0cd825fe5a5fd4db93a7c30b5fe883.zip
Update comments overlooked by 2f5c9d9c9cec436e55847ec580606d7e88067df6.
Tomas Vondra
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index bdfaa0ce758..b1c0b4b1be1 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -100,10 +100,8 @@
adding/deleting caches only requires a recompile.)
Finally, any place your relation gets heap_insert() or
- heap_update() calls, make sure there is a CatalogUpdateIndexes() or
- similar call. The heap_* calls do not update indexes.
-
- bjm 1999/11/22
+ heap_update() calls, use CatalogTupleInsert() or CatalogTupleUpdate()
+ instead, which also update indexes. The heap_* calls do not do that.
*---------------------------------------------------------------------------
*/