is any reason why we cannot cast from record (row) to typed row?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема is any reason why we cannot cast from record (row) to typed row?
Дата
Msg-id 162867791001202328i746a0fb0u44f76944d94b97b4@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hello

I looked on question on
http://stackoverflow.com/questions/2104811/execute-using-statement-in-pl-pgsql-doesnt-work-with-record-type

I was surprised so isn't possible cast from record to target type - is
there reason for this?

DECLARE r RECORD;
BEGIN EXECUTE 'SELECT * FROM xx' INTO r;
 r::xx isn't possible r::text::xx is possible

Regards
Pavel Stehule


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: HS/SR and smart shutdown
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)