Re: [SQL] Questions about embedded-sql! - Mailing list pgsql-sql

From Magnum Ind. da Amazonia S/A
Subject Re: [SQL] Questions about embedded-sql!
Date
Msg-id 371C7348.B2CF1A76@intervista.com.br
Whole thread Raw
List pgsql-sql
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




pgsql-sql by date:

Previous
From: "Anna Langer"
Date:
Subject: Questions about embedded-sql!
Next
From: Karl DeBisschop
Date:
Subject: Re: [GENERAL] problem when vacuuming. . .