PQprint() - Mailing list pgsql-interfaces

From Yannick Cote
Subject PQprint()
Date
Msg-id 19990421115903.A32472@KongFu.Kumite.qc.ca
Whole thread Raw
List 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 ..

pgsql-interfaces by date:

Previous
From: JT Kirkpatrick
Date:
Subject: perl and postgres. . .
Next
From: "Brett W. McCoy"
Date:
Subject: Re: [INTERFACES] Possible error in libpg++ interface, date[time] fields.