Domain casting still doesn't work right - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Domain casting still doesn't work right
Date
Msg-id Pine.LNX.4.44.0306281547540.2178-100000@peter.localdomain
Whole thread Raw
Responses Re: Domain casting still doesn't work right
List 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@gmx.net



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Two weeks to feature freeze
Next
From: Peter Eisentraut
Date:
Subject: Re: Missing array support