From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Dominic Jones <jonesd@xmission.com>
Cc: pgsql-general@postgresql.org
Subject: Re: 10.4 upgrade, function markings, and template0
Date: Tue, 15 May 2018 11:40:24 +0900
Message-ID: <20180515024024.GD1600@paquier.xyz> (raw)
In-Reply-To: <6047.1526332959@sss.pgh.pa.us>
References: <20180514144244.fe352659f5085e209594f3ff@xmission.com>
<5113.1526331745@sss.pgh.pa.us>
<275c6239-9308-0655-d47f-e37af264f139@aklaver.com>
<6047.1526332959@sss.pgh.pa.us>
On Mon, May 14, 2018 at 05:22:39PM -0400, Tom Lane wrote:
> Maybe it'd be worth building some sort of infrastructure that would
> allow this to be done at a lower level. It's not hard to imagine
> an autovacuum-like or bgworker-based thingy that could run around
> and apply a given SQL script in every database, bypassing the usual
> worries about authentication and connections-disabled databases.
A portion of the infrastructure is already available for background
workers which can use BGWORKER_BYPASS_ALLOWCONN since Postgres 11 to
enforce connections to databases even if an administrator disables
connections to it.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, jonesd@xmission.com
Subject: Re: 10.4 upgrade, function markings, and template0
In-Reply-To: <20180515024024.GD1600@paquier.xyz>
References: <20180514144244.fe352659f5085e209594f3ff@xmission.com> <5113.1526331745@sss.pgh.pa.us> <275c6239-9308-0655-d47f-e37af264f139@aklaver.com> <6047.1526332959@sss.pgh.pa.us> <20180515024024.GD1600@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox