Weird prepared stmt behavior

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Weird prepared stmt behavior
Date: 2004-04-30 19:34:46
Message-ID: 20040430193446.GA19904@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

Is this expected? If so, why? I'd expect the prepared stmt to be
deallocated.

alvherre=# begin;
BEGIN
alvherre=# prepare tres as select 3;
PREPARE
alvherre=# rollback;
ROLLBACK
alvherre=# execute tres;
?column?
----------
3
(1 fila)

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
FOO MANE PADME HUM

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-30 20:48:33 ecpg and the timezone database
Previous Message Neil Conway 2004-04-30 19:25:15 Re: pgsql-server/ /configure /configure.in rc/incl ...