Re: prepared statements & functions

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: prepared statements & functions
Date: 2011-12-04 08:38:40
Message-ID: 20111204083840.GA10320@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jean-Yves F. Barbier <12ukwn(at)gmail(dot)com> wrote:

> Hi list,
>
> AFAI understand prepared statements they can accelerate
> repetitive queries very much - but is it possible to
> prepare them from within a function (let say when the user
> connects), and if so, will they be erased as soon as the
> user disconnects?

We haven't TRIGGERs for events like 'USER LOGGED IN' or so ...

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ioannis Anagnostopoulos 2011-12-04 09:38:28 Re: Linux server connection process consumes all memory
Previous Message Jean-Yves F. Barbier 2011-12-04 06:35:54 prepared statements & functions