| От | Sam Mason |
|---|---|
| Тема | Re: COALESCE and NULLIF semantics |
| Дата | |
| Msg-id | 20090911172909.GQ5407@samason.me.uk обсуждение |
| Ответ на | Re: COALESCE and NULLIF semantics (Sam Mason <sam@samason.me.uk>) |
| Список | pgsql-hackers |
On Fri, Sep 11, 2009 at 06:24:22PM +0100, Sam Mason wrote: > One thing I've just realized these discussions have pointed out is > that PG isn't doing the correct thing all the time with types. When > is it ever valid to see an "unknown" after type checking? AFAICT, it > shouldn't ever appear and hence doing: > > CREATE VIEW v AS SELECT 'foo'; > > Should be doing the normal default to TEXT type. Is that right? or does > "unknown" have more meaning besides just being something that needs to > be fixed up during type checking. Doh, sorry I shouldn't have sent that. I wanted to spend some time to see if I could find any other examples, but I hit send by accident. -- Sam http://samason.me.uk/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера