Re: Casting issues with domains

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Casting issues with domains
Дата
Msg-id 31143.1418252469@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Casting issues with domains  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: Casting issues with domains  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> It's kinda hard for me to visualize where it makes sense to define
> the original table column as the bare type but use a domain when
> referencing it in the view.

As far as that goes, I think the OP was unhappy about the performance
of the information_schema views, which in our implementation do exactly
that so that the exposed types of the view columns conform to the SQL
standard, even though the underlying catalogs use PG-centric types.

I don't believe that that's the only reason why the performance of the
information_schema views tends to be sucky, but it's certainly a reason.
        regards, tom lane



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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Fix typo um vacuumdb tests
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Casting issues with domains