Re: How to identify the class of a record

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: How to identify the class of a record
Дата
Msg-id Pine.LNX.4.30.0101031701500.1310-100000@peter.localdomain
обсуждение исходный текст
Ответ на How to identify the class of a record  (Andre Fortin <andrefor@axionet.com>)
Список pgsql-general
Andre Fortin writes:

>     SELECT * from Equipment*;
>
> Is there a way to know from which table each row in the returned record
> set belongs to, as you can do with OO languages.

In 7.1 there will be an implicit column TABLEOID.  In 7.0 and earlier
there's no good way short of maintaining such a column manually.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: "Herve Piedvache"
Дата:
Сообщение: Pb importing data in v. 7.0.3
Следующее
От: Tim Uckun
Дата:
Сообщение: Re: Re: RE: Re: MySQL and PostgreSQL speed compare