Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group