]> granicus.if.org Git - postgresql/commit
IsSystemRelationName() treats TOAST relations as system relations.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2001 23:30:35 +0000 (23:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2001 23:30:35 +0000 (23:30 +0000)
commitc845b4272c572efd372b026201c95d58c0b0043f
tree6f12e21e991e591046c1d5df94e2fd19404952e7
parentaea081bb275211f9d9e68a05db8c8b3eb31f2585
IsSystemRelationName() treats TOAST relations as system relations.
This seems the right thing for most usages, but I notice two places
where it is the wrong thing.  One is that the default permissions on
TOAST rels should be no-access, not world-readable; the other is that
PrepareForTupleInvalidation doesn't really need to spend time looking
at tuples of TOAST relations.
src/backend/catalog/catalog.c
src/backend/utils/adt/acl.c
src/backend/utils/cache/inval.c
src/include/catalog/catalog.h