Re: Means to emulate global temporary table

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Means to emulate global temporary table
Date: 2017-01-12 11:00:27
Message-ID: CAFj8pRBb21Ev3O0XMcx4F+fnp3okUHNvJNP5Wi0gsLL=LJrD1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

2017-01-12 10:06 GMT+01:00 Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>:

> On Wed, Jan 11, 2017 at 05:54:11PM -0700, David G. Johnston wrote:
>
> > I don't see where "call a setup function immediately after connecting"
>
> Sounds like a "login trigger", more generally an ON CONNECT
> event trigger, which we don't have at the moment as far as I
> know.
>
> One of the main arguments against it was that a failing
> trigger function might prevent all access while the suggested
> solution to that (I think by Tom Lane) was to auto-disable ON
> CONNECT triggers when starting up as --single.
>
> Unfortunately, I don't know what came of it by now.
>

https://github.com/okbob/session_exec

Regards

Pavel

> Karsten
> --
> GPG key ID E4071346 @ eu.pool.sks-keyservers.net
> E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Berend Tober 2017-01-12 11:21:23 Re: Means to emulate global temporary table
Previous Message Karsten Hilbert 2017-01-12 09:06:28 Re: Means to emulate global temporary table