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

Domain casting still doesn't work right

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Domain casting still doesn't work right
Date: 2003-06-28 15:45:15
Message-ID: Pine.LNX.4.44.0306281547540.2178-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
Here's another example of domain casting not working right:

create domain foo as varchar;
select cast(x.y as foo) from (select 'foo') as x(y);
ERROR:  coerce_type: no conversion function from "unknown" to foo

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net


Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2003-06-28 15:45:49
Subject: Re: Missing array support
Previous:From: Tom LaneDate: 2003-06-28 15:21:35
Subject: Re: PlPython

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