PQprint()

From: Yannick Cote <postgres(at)Kumite(dot)qc(dot)ca>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: PQprint()
Date: 1999-04-21 15:59:03
Message-ID: 19990421115903.A32472@KongFu.Kumite.qc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I try to use PQprint() in my interface C programs and when i use it, i
get a Segmentation fault. I know i might did an error with such pointers but
i didnt see a lot of docs about PQprint.. at least short examples ..

i use PQprint() this way :

...
PGresult *res;
PQprintOpt opt;
...
PQprint(stdout, res, &opt);

Plz tell me what's wrong there ..

Browse pgsql-interfaces by date

  From Date Subject
Next Message Nagy Laszlo Zsolt , KLTE TTK pm1 1999-04-21 16:02:47 pg_Connect options
Previous Message JT Kirkpatrick 1999-04-21 15:45:32 perl and postgres. . .