Re: REPOST: How to determine the table a query or a views columns come from?

Поиск
Список
Период
Сортировка
От Frank Church
Тема Re: REPOST: How to determine the table a query or a views columns come from?
Дата
Msg-id 1141727909.440d62a510e4a@webmail.adontendev.net
обсуждение исходный текст
Ответ на Re: How to determine the table a query or a views columns come from?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: REPOST: How to determine the table a query or a views columns come from?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Quoting Tom Lane <tgl@sss.pgh.pa.us>:

Quoting Tom Lane <tgl@sss.pgh.pa.us>:

Can this info be obtained by querying the system tables,
especially in the case of views? I am using 'scripting' languages and using C
will be quite awkward.

> Frank Church <pgsql@adontendev.net> writes:
> > Is there way to determine the table a query or a view's columns come from?
>
> Yeah, there's some support for that in the protocol.  libpq exposes it
> as PQftable() and PQftablecol().
>
>             regards, tom lane
>




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

Предыдущее
От: Poul Møller Hansen
Дата:
Сообщение: pg_dump error - filesystem full
Следующее
От: Guido Neitzer
Дата:
Сообщение: Logging seq scans