Search Postgresql Archives

Re: DO Statement Body Parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/3/24 Willy-Bas Loos <willybas@xxxxxxxxx>:
> On Thu, Mar 24, 2011 at 1:33 AM, David Johnston <polobo@xxxxxxxxx> 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@xxxxxxxxxxxxxx)
>> 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
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux