Domain casting still doesn't work right

From: Peter Eisentraut
To: PostgreSQL Development
Subject: Domain casting still doesn't work right
Date: 2003-06-28 15:45:15
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-06-28 15:45:49 Re: Missing array support
Previous Message Tom Lane 2003-06-28 15:21:35 Re: PlPython