Re: minor view creation weirdness

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: minor view creation weirdness
Дата
Msg-id 3F7CD60E.70101@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: minor view creation weirdness  (Neil Conway <neilc@samurai.com>)
Ответы Re: minor view creation weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>>nconway=# create view baz (a,b) as select 'hello', 'world';
>>>WARNING:  column "a" has type "unknown"
>>>DETAIL:  Proceeding with relation creation anyway.
>>
>>It's always done that, although the spelling of the notice has
>>varied over the years.
> 
> 
>>I'd almost argue that we should change this message to an error
> 
> 
> I agree.

Except that it would totally break backwards-compatibility?  Or will 
'unknown' fields in views be dumped with explicit casts?

Chris




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: back from Washington, still busy
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Weird locking situation