Is child process of postmaster able to access all the databases?

From: Hubert Zhang <hzhang(at)pivotal(dot)io>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Is child process of postmaster able to access all the databases?
Date: 2018-08-29 14:04:26
Message-ID: CAB0yren+xjGB1C2O-ujLwbCU-VFYntGmzKoks6WfCL4ijX3gEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello all.

background worker can use SPI to read a database, but it can call
BackgroundWorkerInitializeConnection(dbname) only once.

I wonder if there is a way to let a child process of postmaster to access
all the databases one by one?

--
Thanks

Hubert Zhang

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo Nagata 2018-08-29 14:25:28 Re: pg_verify_checksums -d option (was: Re: pg_verify_checksums -r option)
Previous Message Justin Pryzby 2018-08-29 14:01:49 10.5 but not 10.4: backend startup during reindex system: could not read block 0 in file "base/16400/..": read only 0 of 8192 bytes