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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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


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