Re: EXECUTE problems - Mailing list pgsql-general

From Medi Montaseri
Subject Re: EXECUTE problems
Date
Msg-id 3DE299D5.9090506@intransa.com
Whole thread Raw
In response to EXECUTE problems  (Felipe Schnack <felipes@ritterdosreis.br>)
Responses Re: EXECUTE problems  (Neil Conway <neilc@samurai.com>)
List pgsql-general
How do I prepare an statement in C context, ie which libPQ function does
that

Felipe Schnack wrote:

>  You're right, I didn't :-)
>  I think it should... after all, why you can use DEFAULT in an normal
>insert but you can't in an prepared insert statement?
>  I'm asking this because I'm implementing methods to support the new
>DEFAULT keyword in pgsql 7.3 for the JDBC driver... but if I can't use
>it in prepared sqls, a great deal of it usefulness will be shortened...
>
>  Thanks!
>
>On Fri, 2002-11-22 at 16:20, Neil Conway wrote:
>
>
>>Felipe Schnack <felipes@ritterdosreis.br> writes:
>>
>>
>>>No, no... in pgsql 7.3 you can do "insert into test (columnName)
>>>values (DEFAULT)" and it works! It just doesn't work for prepared
>>>statements. Maybe I should join the pgsql-developers list?
>>>
>>>
>>Read my reply again, you clearly didn't understand me.
>>
>>Cheers,
>>
>>Neil
>>
>>--
>>Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
>>
>>
>>




pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: caveats upgrading from 7.0.3 to 7.2.x
Next
From: Robert Treat
Date:
Subject: Re: performanceboost with PostgreSQL