Re: WARNING: column "footype" has type "unknown" - Mailing list pgsql-general

From Ed L.
Subject Re: WARNING: column "footype" has type "unknown"
Date
Msg-id 200410271734.47938.pgsql@bluepolka.net
Whole thread Raw
In response to Re: WARNING: column "footype" has type "unknown"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WARNING: column "footype" has type "unknown"  ("Ed L." <pgsql@bluepolka.net>)
List 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)



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: WARNING: column "footype" has type "unknown"
Next
From: "Ed L."
Date:
Subject: Re: WARNING: column "footype" has type "unknown"