Re: SPI equivalent for libpq PQftable & PQFtablecolumn - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SPI equivalent for libpq PQftable & PQFtablecolumn
Date
Msg-id 20468.1087571030@sss.pgh.pa.us
Whole thread Raw
In response to SPI equivalent for libpq PQftable & PQFtablecolumn  (Darko Prenosil <darko.prenosil@finteh.hr>)
List pgsql-hackers
Darko Prenosil <darko.prenosil@finteh.hr> writes:
>     What is SPI equivalent for libpq PQftable & PQFtablecolumn functions ?

There is none.  SendRowDescriptionMessage gets the column ID info by
rooting around in the targetlist of the SELECT query, and you'd have
to do the same.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: 7.5-dev, pg_dumpall, dollarquoting
Next
From: Abhijit Menon-Sen
Date:
Subject: specifying multiple result format codes with libpq