Re: minor view creation weirdness

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: minor view creation weirdness
Date: 2003-10-03 01:51:10
Message-ID: 3F7CD60E.70101@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-10-03 02:07:02 Re: Weird locking situation
Previous Message Bruce Momjian 2003-10-02 23:41:51 back from Washington, still busy