Re: Patch for 8.5, transformationHook

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Patch for 8.5, transformationHook
Дата
Msg-id 4A800A6F0200002500029729@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Patch for 8.5, transformationHook  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Patch for 8.5, transformationHook  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Patch for 8.5, transformationHook  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> wrote: 
> reimplement a bunch of core functionality like COALESCE
If such an effort could reduce the astonishment factor for the
following, it would justify a certain amount of effort, in my view:
test=# select pg_typeof('x');pg_typeof
-----------unknown
(1 row)

test=# select pg_typeof(null);pg_typeof
-----------unknown
(1 row)

test=# select pg_typeof(coalesce(null, null));pg_typeof
-----------text
(1 row)
We now have workarounds in place for everywhere this bit us on
conversion to PostgreSQL, but it was actually one of the greater
sources of pain in that process....
-Kevin


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: machine-readable explain output v4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch for 8.5, transformationHook