Re: libpq:Find Table Name

Поиск
Список
Период
Сортировка
От Darko Prenosil
Тема Re: libpq:Find Table Name
Дата
Msg-id 004001c34971$dc4b4b80$d196bfd5@darko
обсуждение исходный текст
Ответ на Re: libpq:Find Table Name  (Christoph Haller <ch@rodos.fzk.de>)
Список pgsql-interfaces
----- Original Message ----- 
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Christoph Haller" <ch@rodos.fzk.de>
Cc: <pgsql-interfaces@postgresql.org>; <adam@piggz.fsnet.co.uk>
Sent: Monday, July 14, 2003 4:48 PM
Subject: Re: [INTERFACES] libpq:Find Table Name 


> 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).
> 

Wow !!!
I should read changelogs more often !

Regards !



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq:Find Table Name
Следующее
От: Adam Pigg
Дата:
Сообщение: Re: libpq:Find Table Name