| От | Noah Misch |
|---|---|
| Тема | Re: Avoiding rewrite in ALTER TABLE ALTER TYPE |
| Дата | |
| Msg-id | 20101231054746.GA12460@tornado.leadboat.com обсуждение |
| Ответ на | Re: Avoiding rewrite in ALTER TABLE ALTER TYPE (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
On Fri, Dec 31, 2010 at 12:34:50AM -0500, Robert Haas wrote: > On Thu, Dec 30, 2010 at 8:35 PM, Noah Misch <noah@leadboat.com> wrote: > > 4. A FuncExpr node has answers given by the bitwise-AND of its funcexempt field > > and the answers from its first argument. > > Why its first argument? funcexempt would only be nonzero for FuncExpr of length coercion casts. Those have the subject datum as a first argument, typmod as second, and is-explicit boolean as third. The other arguments are effectively already validated. That brings up a point -- the exemptor function also needs an is-explicit argument, as that affects the decision for some types.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера