Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can simplify function
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can simplify function |
| Дата | |
| Msg-id | 12822.1332514552@sss.pgh.pa.us обсуждение |
| Ответы |
Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can
simplify function
Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can simplify function |
| Список | pgsql-hackers |
Robert Haas <rhaas@postgresql.org> writes:
> Add notion of a "transform function" that can simplify function calls.
Why exactly was this thought to be a good idea:
> * A NULL original expression disables use of transform functions while
> * retaining all other behaviors.
AFAICT that buys nothing except to greatly complicate the API
specification for simplify_function, something that is now proving
problematic for Marti's requested refactoring [1]. If it's
inappropriate for a transform function to modify a CoerceViaIO call,
surely the transform function can be expected to know that.
regards, tom lane
[1] http://archives.postgresql.org/pgsql-hackers/2012-03/msg00694.php
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера