Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Andres Freund <andres@2ndquadrant.com>,
Josh Berkus <josh@agliodbs.com>, Tom Lane <tgl@sss.pgh.pa.us>,
Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2013-08-09T12:44:05Z
Lists: pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote: > On Sun, Aug 4, 2013 at 4:26 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote: > > What I'm yet unsure about is that there's a consensus that the use cases > > are worthy of a new shared catalog in the system. Also I didn't look how > > hard it is to actually provide for it. > > A new shared catalog wouldn't actually help, because the actual > procedure to be run has to live in pg_proc, which is not shared. And > that has references to all sorts of other things (like pg_language) > that aren't shared either. A shared catalog which defined which *database* to run the trigger in, with a way to fire off a new backend worker in that database and tell it to run the trigger, might be interesting and would deal with the issue that the trigger would behave differently depending on the database connected to. That would bring along other issues, of course, but it seemed an interesting enough idea to mention. Thanks, Stephen