Re: Querying Headers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Querying Headers
Дата
Msg-id 21370.1204337866@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Querying Headers  (pw <p.willis@telus.net>)
Список pgsql-general
pw <p.willis@telus.net> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Confused about CASE
Следующее
От: "Shane Wright"
Дата:
Сообщение: Re: Upgrade to 8.3.0?