| От | Jacob Coby |
|---|---|
| Тема | Re: Column info without executing query |
| Дата | |
| Msg-id | 44C0D052.2090405@listingbook.com обсуждение исходный текст |
| Ответ на | Re: Column info without executing query (Volkan YAZICI <yazicivo@ttnet.net.tr>) |
| Ответы |
Re: Column info without executing query
|
| Список | pgsql-general |
Volkan YAZICI wrote: > On Jul 20 08:21, Dan Strömberg wrote: >> I would like to know if it is possible to find out the datatypes in the >> resultset of a query or a set returning >> function without actually executing them ? > > As Tom mentioned, there's support for this feature in the protocol > level, but I don't know any API supports this yet. However, here's a > patch that adds Describe functionality for Prepared Statements and > Cursors to libpq: > http://archives.postgresql.org/pgsql-hackers/2006-06/msg01281.php PHP supports it with the pg_field_type() function.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера