Re: EXECUTE problems

From: Ren Salomo <rene(at)ibiz(dot)com(dot)br>
To: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: EXECUTE problems
Date: 2002-11-22 15:18:01
Message-ID: 20021122131801.01543312.rene@ibiz.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Have u define a value for Default ? / Vc definiu um valor para Default?

On 22 Nov 2002 12:25:46 -0200
Felipe Schnack <felipes(at)ritterdosreis(dot)br> wrote:

> I compiled the cvs version of pgsql yesterday afternoon and I'm having
> some problems with EXECUTE statement. If I do the following the query is
> executed:
>
> PREPARE TEST_STATEMENT_1(text) AS insert into teste values ( $1 );
> EXECUTE TEST_STATEMENT_1(null)
>
> But why this doesn't?
>
> PREPARE TEST_STATEMENT_1(text) AS insert into teste values ( $1 );
> EXECUTE TEST_STATEMENT_1(DEFAULT)
>
> Btw, the field is a varchar.
>
> --
>
> Felipe Schnack
> Analista de Sistemas
> felipes(at)ritterdosreis(dot)br
> Cel.: (51)91287530
> Linux Counter #281893
>
> Faculdade Ritter dos Reis
> www.ritterdosreis.br
> felipes(at)ritterdosreis(dot)br
> Fone/Fax.: (51)32303328
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Renê Salomão
Ibiz Tecnologia -- www.ibiz.com.br
(011) 5579-3178 - R. 211

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Schmid 2002-11-22 15:21:18 Readline on MacOS X 10.2.2 and pg 7.3rc1
Previous Message Doug McNaught 2002-11-22 14:54:06 Re: defining directories for tables?