| От | Tom Lane |
|---|---|
| Тема | Re: libpq:Find Table Name |
| Дата | |
| Msg-id | 1241.1058194088@sss.pgh.pa.us обсуждение |
| Ответ на | Re: libpq:Find Table Name (Christoph Haller <ch@rodos.fzk.de>) |
| Ответы |
Re: libpq:Find Table Name
|
| Список | pgsql-interfaces |
Christoph Haller <ch@rodos.fzk.de> writes:
>> Has anyone any suggestions on how i can achieve getting the table name
>> for a
>> filed in a result without having to parse the sql statement (which i
>> dont
>> think wold be easy).
>>
> I very much doubt there is such thing, because the result may come from
> a complex join or a function.
There is support for this in PG 7.4, in the form of providing the table
OID for a column (when it's determinable).
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера