> On Wed, Jul 20, 2011 at 12:04 PM, Kohei Kaigai > <[email protected]> wrote: > > The sepgsql_restorecon(NULL) assigns default security label on all the > > database objects being controlled, thus, its workload caches security > > label (including text data) of these objects. > > So, ~5MB of difference is an upper limit of syscache usage because of > > SECLABELOID. > > No, it's not. It's just the upper limit of how large it can be on an > *empty* database. A real database could have hundreds of tables and > views and thousands of columns. To say nothing of large objects. > Ah, sorry, you are correct.
Regarding to large objects, GetSecurityLabel() is modified not to use SECLABELOID to flood of the syscache. Thanks, -- NEC Europe Ltd, SAP Global Competence Center KaiGai Kohei <[email protected]> -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
