| От | Glenn Sullivan |
|---|---|
| Тема | Getting datatype before SELECT |
| Дата | |
| Msg-id | 3611135E.491D2598@nmr.varian.com обсуждение |
| Ответы |
Re: [SQL] Getting datatype before SELECT
Re: [SQL] Getting datatype before SELECT Re: [SQL] Getting datatype before SELECT |
| Список | pgsql-sql |
In my C code which communicates with the Postgres database, I have the need to determine the datatype of a column, before I have done a SELECT command. I have the name of the column, but I cannot seem to figure out how to get the datatype information until after I have done a SELECT. Then I can call PQfnumber() and PQftype() to get the type. Does anyone know how to do this? Thanks, Glenn
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера