Re: SPI equivalent for libpq PQftable & PQFtablecolumn

From: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SPI equivalent for libpq PQftable & PQFtablecolumn
Date: 2004-06-18 15:35:14
Message-ID: 000a01c45549$dbe6b500$5f87bfd5@darko
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>
To: "Darko Prenosil" <darko(dot)prenosil(at)finteh(dot)hr>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Sent: Friday, June 18, 2004 5:03 PM
Subject: Re: [HACKERS] SPI equivalent for libpq PQftable & PQFtablecolumn

> Darko Prenosil <darko(dot)prenosil(at)finteh(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-06-18 16:00:10 Re: Using domains for case insensitivity
Previous Message Tom Lane 2004-06-18 15:26:23 Re: korean encoding, but sort order bad