diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-02-10 01:55:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-02-10 01:55:27 +0000 |
commit | 87bd95638552b8fc1f5f787ce5b862bb6fc2eb80 (patch) | |
tree | b2b98d5a934750a9ee791992120343b109dac31d /src/backend/commands/tablecmds.c | |
parent | f06e79525a57ccbf54ae5d0b673cd904ca978d67 (diff) | |
download | postgresql-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/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 809f425bc65..6fadd0d4e15 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.97 2004/01/28 21:02:39 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.98 2004/02/10 01:55:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1010,7 +1010,7 @@ setRelhassubclassInRelation(Oid relationId, bool relhassubclass) else { /* no need to change tuple, but force relcache rebuild anyway */ - CacheInvalidateRelcache(relationId); + CacheInvalidateRelcacheByTuple(tuple); } heap_freetuple(tuple); |