Re: [HACKERS] [Resend: Domains and function]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: elein <elein(at)varlena(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [HACKERS] [Resend: Domains and function]
Date: 2004-02-20 16:33:39
Message-ID: 28407.1077294819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Robert Treat <xzilla(at)users(dot)sourceforge(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message elein 2004-02-20 17:55:27 Re: [HACKERS] [Resend: Domains and function]
Previous Message Robert Treat 2004-02-20 16:10:30 Re: [HACKERS] [Resend: Domains and function]

Browse pgsql-hackers by date

  From Date Subject
Next Message elein 2004-02-20 17:55:27 Re: [HACKERS] [Resend: Domains and function]
Previous Message Robert Treat 2004-02-20 16:10:30 Re: [HACKERS] [Resend: Domains and function]