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

From Darko Prenosil
Subject Re: SPI equivalent for libpq PQftable & PQFtablecolumn
Date
Msg-id 000a01c45549$dbe6b500$5f87bfd5@darko
Whole thread Raw
In response to SPI equivalent for libpq PQftable & PQFtablecolumn  (Darko Prenosil <darko.prenosil@finteh.hr>)
List pgsql-hackers
Thanks (again) Tom, I'll try to do as You suggested.
I was poking around backend libpq, but was unable to find where exactly
that information is prepared and send to libpq buffer.

Regards !

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Darko Prenosil" <darko.prenosil@finteh.hr>
Cc: <pgsql-hackers@postgresql.org>
Sent: Friday, June 18, 2004 5:03 PM
Subject: Re: [HACKERS] SPI equivalent for libpq PQftable & PQFtablecolumn


> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: korean encoding, but sort order bad
Next
From: Tom Lane
Date:
Subject: Re: Using domains for case insensitivity