EXECUTE problems

From: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: EXECUTE problems
Date: 2002-11-22 14:25:46
Message-ID: 1037975146.14945.22.camel@desenv1.ritterdosreis.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Johnson, Shaunn 2002-11-22 14:49:27 defining directories for tables?
Previous Message Adrian Klaver 2002-11-22 13:51:16 View and primary key