From: Magnum Ind. da Amazonia S/A <relmag@intervista.com.br>
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] Questions about embedded-sql!
Date: Tue, 20 Apr 1999 09:30:00 -0300
Message-ID: <371C7348.B2CF1A76@intervista.com.br> (raw)
References: <tcppop3.647850@bbs.intervista.com.br>
anna_langer@hotmail.com wrote:
>
> Hi!
>
> We are having some problems with writing embedded-sql.
...
> res = PQexec(conn, "select * from test1");
> if (!res || PQresultStatus(res) != PGRES_COMMAND_OK)
> {
> fprintf(stderr, "DECLARE CURSOR command failed\n");
> PQclear(res);
> exit_nicely(conn);
> }
> PQclear(res);
>
...
>
> We really need some help!!!!
>
> Anna and Maria
Hi Anna and Maria
The sample code above is not embedded-sql.
What do you really need? Help in embedded-sql or
help in the use of "libpq"?
You can find some sample in both case in postgres'
documentation.
(if you use postgres 6.3.2 have same typos errors
in documentation in postscript format, in html is
right)
Paulo
System Manager
jpbsilva@intervista.com.br
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: relmag@intervista.com.br
Subject: Re: [SQL] Questions about embedded-sql!
In-Reply-To: <371C7348.B2CF1A76@intervista.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox