Embedded sql PREPARE statement

From: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Embedded sql PREPARE statement
Date: 2001-06-19 16:57:00
Message-ID: Pine.LNX.4.21.0106191244230.24987-100000@aluminum.cs.pitt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Again from the ecpg docs. In http://www.postgresql.org/idocs/index.php?app-ecpg.html it mentions at the end of the page in the NOTES section:
"There is no EXEC SQL PREPARE statement."

I used it in creating a dynamic query and worked just fine. Actually ommiting it causes the program not to work :-(
Is the doc comment obsolete or is there something missing from the functionality of PREPARE?

cheers,
thalis

ps there is even an sqlca error (code -230) related to not having prepared a statement

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis B 2001-06-19 17:28:20 Postmaster loses bash shell command prompt?
Previous Message Thalis A. Kalfigopoulos 2001-06-19 16:09:05 Re: embedded SQL cursos declare fails