Re: Couldn't cast to record[]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Couldn't cast to record[]
Дата
Msg-id 3162859.1646322496@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Couldn't cast to record[]  (Suresh Kumar R <suresh.arsenal29@gmail.com>)
Список pgsql-general
Suresh Kumar R <suresh.arsenal29@gmail.com> writes:
> When I query that table I need the pg_typeof(column) as record[] instead of
> composite_type[].

Why?  record[] is considered a pseudotype (polymorphic type),
which is why casting to it doesn't do anything.

            regards, tom lane



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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal