Re: How hard would it be to support LIKE in return declaration of generic record function calls ?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How hard would it be to support LIKE in return declaration of generic record function calls ?
Дата
Msg-id CAFj8pRA5FMw9BMe4RaNPM3_hNz=53HQEu37FObZWVC6+UYr36w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How hard would it be to support LIKE in return declaration of generic record function calls ?  (Hannu Krosing <hannu@2ndQuadrant.com>)
Ответы Re: How hard would it be to support LIKE in return declaration of generic record function calls ?  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
Hello

> (1 row)
>
> This works the same indeed, just seems to be a hack, though a cool
> one :)
>
> hannu=# insert into test
> hannu-# SELECT * FROM populate_record(null::test,
>                              '"id"=>"456", "data"=>"zzz"');
> INSERT 0 1

few years back I proposed "anytypename" type

with this feature, you can has some clean and more readable call

SELECT * FROM populate_record(test, ...)

Regards

Pavel


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: How hard would it be to support LIKE in return declaration of generic record function calls ?
Следующее
От: Magnus Hagander
Дата:
Сообщение: "unexpected EOF" messages