Re: DO Statement Body Parameters

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Willy-Bas Loos <willybas(at)gmail(dot)com>
Cc: David Johnston <polobo(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: DO Statement Body Parameters
Date: 2011-03-24 12:26:57
Message-ID: AANLkTikNU5q80-A87Pjq9_zk12c7R3npgwybgFn2pxhc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2011/3/24 Willy-Bas Loos <willybas(at)gmail(dot)com>:
> On Thu, Mar 24, 2011 at 1:33 AM, David Johnston <polobo(at)yahoo(dot)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(at)postgresql(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Waqar Azeem 2011-03-24 12:39:48 Re: Database recovery.
Previous Message Waqar Azeem 2011-03-24 12:10:39 Re: Database recovery.