aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-10 01:55:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-10 01:55:27 +0000
commit87bd95638552b8fc1f5f787ce5b862bb6fc2eb80 (patch)
treeb2b98d5a934750a9ee791992120343b109dac31d /src/backend/commands/trigger.c
parentf06e79525a57ccbf54ae5d0b673cd904ca978d67 (diff)
downloadpostgresql-87bd95638552b8fc1f5f787ce5b862bb6fc2eb80.tar.gz
postgresql-87bd95638552b8fc1f5f787ce5b862bb6fc2eb80.zip
Restructure smgr API as per recent proposal. smgr no longer depends on
the relcache, and so the notion of 'blind write' is gone. This should improve efficiency in bgwriter and background checkpoint processes. Internal restructuring in md.c to remove the not-very-useful array of MdfdVec objects --- might as well just use pointers. Also remove the long-dead 'persistent main memory' storage manager (mm.c), since it seems quite unlikely to ever get resurrected.
Diffstat (limited to 'src/backend/commands/trigger.c')
-rw-r--r--src/backend/commands/trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 34cfc4d10e3..bddf3f5ad68 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.163 2003/11/29 19:51:47 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.164 2004/02/10 01:55:25 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -691,7 +691,7 @@ renametrig(Oid relid,
* relcache entries. (Ideally this should happen
* automatically...)
*/
- CacheInvalidateRelcache(relid);
+ CacheInvalidateRelcache(targetrel);
}
else
{