Search Postgresql Archives

Re: Trigger to run @ connection time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/14/08, Erik Jones <erik@xxxxxxxxxx> wrote:
>  On Mar 14, 2008, at 7:17 AM, Marko Kreen wrote:
>  > To put it to core Postgres, it needs to be conceptually sane
>  > first, without needing ugly workarounds to avoid it bringing
>  > whole db down.
>  >
>  > I can see ATM only few ways:
>  >
>  > - Applies only to non-superusers.
>  >
>  > - Error from CONNECT trigger does not affect superuser.
>  >
>  > - Applies to database + role.  Role could be also group of users.
>  >
>  > So you always have way do fix things, without hexediting in data
>  > dir...
>
> Another option:
>
>  Does not fire at all in single-user mode.  This would be covered by
>  "Applies to non-superusers" if that were there but, by itself, the
>  triggers would still fire for normal superuser connections.

Seems bit too hard - you may other db-s that work fine,
why should those suffer?

-- 
marko

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux