On 8/31/14 12:40 AM, Dobes Vandermeer wrote: > The background workers can apparently only connect to a single database > at a time, but I want to expose all the databases via the API.
I think the term "background worker" should be taken as a hint that "foreground protocol endpoint" was not one of the envisioned use cases. I think this sort of thing should be done as a separate process in front of the postmaster. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers