From: | Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu> |
---|---|
To: | pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | Re: [pgsql-ayuda] ayuda con la API de C |
Date: | 2000-11-11 00:07:33 |
Message-ID: | Pine.LNX.4.10.10011101901340.16472-100000@jagua.cfg.sld.cu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hay un error en las lineas que te indico a continuacion, lo demas compila
bien y se ejecuta ok con una bd diferente por supuesto.
On Thu, 9 Nov 2000, Heron GALLEGOS wrote:
> fprintf ( stdout, "status=%s\n", PQresStatus ( PQresultStatus ( result )));
fprintf ( stdout, "status=%s\n", PQresultErrorMessage ( result ));
>
> if ( PQresultStatus ( result ) != PGRES_TUPLES_OK ) {
> fprintf ( stderr, "QRY1 ha fallado\n" );
> fprintf ( stderr, "%s\n", PQresStatus ( PQresultStatus ( result )));
fprintf ( stderr, "%s\n", PQresultErrorMessage ( result ));
> PQclear ( result );
> PQfinish ( dbp );
> exit ( 1 );
--
Jesus Aneiros Sosa
mailto:aneiros(at)jagua(dot)cfg(dot)sld(dot)cu
http://jagua.cfg.sld.cu/~aneiros
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo(at)tlali(dot)iztacala(dot)unam(dot)mx
text : unsubscribe pgsql-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | Ing. Roberto Andrade Fonseca | 2000-11-11 15:42:11 | [pgsql-ayuda] Es tan bueno PostgreSQL? |
Previous Message | Heron GALLEGOS | 2000-11-09 20:32:30 | [pgsql-ayuda] ayuda con la API de C |