From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add hooks for session start and session end, take two
Date: Tue, 1 Oct 2019 14:25:43 +0900
Message-ID: <20191001052543.GI2781@paquier.xyz> (raw)
In-Reply-To: <18722.1569906636@sss.pgh.pa.us>
References: <E1iF8dy-0000fc-9S@gemulon.postgresql.org>
<20191001045246.GF2781@paquier.xyz>
<18722.1569906636@sss.pgh.pa.us>
On Tue, Oct 01, 2019 at 01:10:36AM -0400, Tom Lane wrote:
> The idea that you can launch a query after proc_exit has started is
> complete insanity. I hope this is just a poorly-thought-out test
> case, and not something that's inherent to this module. If there
> are not reasonable use-cases that don't need that, we should just
> revert the feature altogether, because it's nothing but a large
> caliber foot-gun.
That was originally just part of the original test to prove the point
of the session end hook where people wanted to be able to log some
activity once the session is done with.
--
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add hooks for session start and session end, take two
In-Reply-To: <20191001052543.GI2781@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