Re: [BUGS] [Resend: Domains and function] - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] [Resend: Domains and function]
Date
Msg-id 28407.1077294819@sss.pgh.pa.us
Whole thread Raw
In response to Re: [Resend: Domains and function]  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: [BUGS] [Resend: Domains and function]  (elein <elein@varlena.com>)
List pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> so ISTM that your example is certainly a deficiency if not a bug.

I believe it is a bug or at least an unimplemented feature in plpgsql:
plpgsql has its own implementation of casting, and is not aware that
casting to a domain should involve running check constraints.

The same might be true of the other PL languages, not sure.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: [Resend: Domains and function]
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] [Resend: Domains and function]