| От | Peter Eisentraut |
|---|---|
| Тема | Re: No error when column doesn't exist |
| Дата | |
| Msg-id | 48C93791.8040105@gmx.net обсуждение исходный текст |
| Ответ на | Re: No error when column doesn't exist (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
Tom Lane wrote: > The ideas I had involved not considering the cast interpretation when > the actual syntax is table.column and some-set-of-other-conditions. > While this is certainly possible to implement, any variant of it will > break the existing 100% equivalence of foo.bar and bar(foo); which > seems to me to be a nice principle, though I grant you won't find it > anywhere in the SQL standard. I think if we say that functions can be used as table attributes, and types can be used as (cast) functions, and tables are types, then we are simply stuck with the current behavior. Individually, these all make sense, so you can't break that chain without some really complicated warts.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера