Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group