Re: DO Statement Body Parameters - Mailing list pgsql-general

From Pavel Stehule
Subject Re: DO Statement Body Parameters
Date
Msg-id AANLkTikNU5q80-A87Pjq9_zk12c7R3npgwybgFn2pxhc@mail.gmail.com
Whole thread Raw
In response to Re: DO Statement Body Parameters  (Willy-Bas Loos <willybas@gmail.com>)
List pgsql-general
2011/3/24 Willy-Bas Loos <willybas@gmail.com>:
> On Thu, Mar 24, 2011 at 1:33 AM, David Johnston <polobo@yahoo.com> wrote:
>>
>> I am not sure how I'd go about testing a parameterized
>> query without using JDBC...
>
> How about this?
> http://www.postgresql.org/docs/9.0/interactive/sql-prepare.html
> HTH,
> WBL

you can't prepare a DO statement - it has no plan :(. I worked on
parametrized DO statement, but this patch was rejected as premature
optimalization.

Regards

Pavel Stehule

>>
>>
>>
>>
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>
>
>
> --
> "Patriotism is the conviction that your country is superior to all others
> because you were born in it." -- George Bernard Shaw
>

pgsql-general by date:

Previous
From: Waqar Azeem
Date:
Subject: Re: Database recovery.
Next
From: Waqar Azeem
Date:
Subject: Re: Database recovery.