Re: Identifying no-op length coercions

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Identifying no-op length coercions
Дата
Msg-id
20117.1307818998@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Alexey Klyukin <alexk@commandprompt.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Alexey Klyukin <alexk@commandprompt.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions Alexey Klyukin <alexk@commandprompt.com>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Alexey Klyukin <alexk@commandprompt.com>
Re: Identifying no-op length coercions Jim Nasby <jim@nasby.net>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Re: Identifying no-op length coercions "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Greg Stark <gsstark@mit.edu>
Re: Identifying no-op length coercions Tom Lane <tgl@sss.pgh.pa.us>
Re: Identifying no-op length coercions Robert Haas <robertmhaas@gmail.com>
Re: Identifying no-op length coercions Noah Misch <noah@leadboat.com>
Noah Misch  writes:
> Good points.  I'm thinking, then, add an Expr argument to simplify_function()
> and have the CoerceViaIO branch of eval_const_expressions_mutator() pass NULL
> for both its simplify_function() calls.  If simplify_function() gets a NULL Expr
> for a function that has a protransform, synthesize a FuncExpr based on its other
> arguments before calling the transform function.  Seem reasonable?  Granted,
> that would be dead code until someone applies a transform function to a type I/O
> function, which could easily never happen.  Perhaps just ignore the transform
> function when we started with a CoerceViaIO node?

Until we actually have a use-case for simplifying I/O functions like this,
I can't see going out of our way for it ...
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Kevin Grittner
Дата:
Сообщение: Re: Small SSI issues
От: Jeroen Vermeulen
Дата:
FAQ