Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group