Re: WARNING: column "footype" has type "unknown"

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WARNING: column "footype" has type "unknown"
Date: 2004-10-27 23:34:47
Message-ID: 200410271734.47938.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday October 27 2004 5:24, Tom Lane wrote:
> An example of what you won't be able to do:
>
> regression=# select distinct * from fooview;
> ERROR: failed to find conversion function from "unknown" to text

Is that 8.0 you're working against there? Here's my 7.4.6 installation:

$ psql -c "create view fooview as select 'bar' as footype"
WARNING: column "footype" has type "unknown"
DETAIL: Proceeding with relation creation anyway.
CREATE VIEW

$ psql -c "select * from fooview"
footype
---------
bar
(1 row)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2004-10-27 23:36:19 Re: WARNING: column "footype" has type "unknown"
Previous Message Tom Lane 2004-10-27 23:24:51 Re: WARNING: column "footype" has type "unknown"