Re: EXECUTE problems

From: Medi Montaseri <medi(dot)montaseri(at)intransa(dot)com>
To: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
Cc: Neil Conway <neilc(at)samurai(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: EXECUTE problems
Date: 2002-11-25 21:44:53
Message-ID: 3DE299D5.9090506@intransa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ritterdosreis(dot)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(at)samurai(dot)com> || PGP Key ID: DB3C29FC
>>
>>
>>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2002-11-25 21:46:06 Re: performanceboost with PostgreSQL
Previous Message Robert Treat 2002-11-25 20:36:16 Re: caveats upgrading from 7.0.3 to 7.2.x