Re: Information about columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Information about columns
Дата
Msg-id 19323.1245720832@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Information about columns  (Dario Teixeira <darioteixeira@yahoo.com>)
Список pgsql-general
Dario Teixeira <darioteixeira@yahoo.com> writes:
> *However*, if I create a new type (which has an associated pg_class entry),
> and define a function which returns a SETOF that type, RowDescription will
> not tell me its OID.  For example:
> ...
> Is this a bug or a conscious decision?

It's intentional; IIRC, the current behavior is defined that way because
that's what the JDBC driver needs to implement the JDBC specs.  Putting
information about composite types where information about tables is
expected would confuse the heck out of existing client code.

            regards, tom lane

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

Предыдущее
От: Gerry Reno
Дата:
Сообщение: Re: Replication
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Replication