On Sun, Mar 18, 2012 at 11:26 PM, <[email protected]> wrote: > > Getting the information from a table works. I now have a sessionsettings > table, but I'm making way to many calls to it because there is no global pool > of variable. Not IMO an efficient use of a table.
Chances are that table, if you are indeed using it a lot, will be cached. It'll end up fairly cheap. But just out of vague curiosity, I wonder how viable it would be to create functions for all your global variables - each one is thus a function returning its value. ChrisA -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
