Search Postgresql Archives

Re: Querying Headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pw <p.willis@xxxxxxxxx> writes:
>> I am curious if there is a postgresql function that will
>> return a list of header names based on an input query text.

No, but there is support for such things at the wire protocol level
--- specifically, Parse followed by Describe Statement would get you
the result column names and types.  How much of that is exposed by
the interface library you use would depend on the library; in recent
libpq versions you would use PQprepare then PQdescribePrepared.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux