Re: "anyelement2" pseudotype

Поиск
Список
Период
Сортировка
От Matt Miller
Тема Re: "anyelement2" pseudotype
Дата
Msg-id 1171471926.27919.1174623763@webmail.messagingengine.com
обсуждение исходный текст
Ответ на Re: "anyelement2" pseudotype  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > adding an "anyelement2" pseudotype ... The context was a
> > compatibility SQL function to support Oracle's DECODE function.
>
> The reason it's not in there already is we didn't seem to have quite
> enough use-case to justify it.  Do you have more?

No.  Even this case, for me, is more an expedient than a necessity. I
could just rewrite my Oracle code to use CASE, but I've a lot of code to
convert, and the transformation is a bit error prone.  I'm also looking
at a scripted code edit to rewrite the Oracle stuff, and comparing this
to the cost a PG compatibility function.


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: NULL and plpgsql rows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Plan for compressed varlena headers