From: | "Magnum Ind(dot) da Amazonia S/A" <relmag(at)intervista(dot)com(dot)br> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] Questions about embedded-sql! |
Date: | 1999-04-20 12:30:00 |
Message-ID: | 371C7348.B2CF1A76@intervista.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
anna_langer(at)hotmail(dot)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(at)intervista(dot)com(dot)br
From | Date | Subject | |
---|---|---|---|
Next Message | Karl DeBisschop | 1999-04-20 13:17:42 | Re: [GENERAL] problem when vacuuming. . . |
Previous Message | Michael J Davis | 1999-04-20 05:30:04 | RE: [SQL] OUTER JOINS |