Re: [HACKERS] Polymorphic types vs. domains

2009-02-04 Thread Bruce Momjian
Tom Lane wrote: The proximate cause of this complaint: http://archives.postgresql.org/pgsql-general/2008-12/msg00283.php seems to be that the polymorphic-type code doesn't consider a domain over an enum type to match an ANYENUM function argument. ISTM this is probably wrong: we need such a

Re: [HACKERS] Polymorphic types vs. domains

2009-01-20 Thread Bruce Momjian
Where are we on this? I tested CVS and the problem still seems to exist. --- Tom Lane wrote: The proximate cause of this complaint: http://archives.postgresql.org/pgsql-general/2008-12/msg00283.php seems to be that the

Re: [HACKERS] Polymorphic types vs. domains

2008-12-12 Thread Grzegorz Jaskiewicz
any news on that front ? -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Polymorphic types vs. domains

2008-12-08 Thread David E. Wheeler
On Dec 8, 2008, at 2:46 AM, Tom Lane wrote: Comments? +1 If this is agreed to be a bug, should we consider back-patching it? (I'd vote not, I think, because the behavioral change could conceivably break some apps that work now.) +1 Best, David -- Sent via pgsql-hackers mailing list

Re: [HACKERS] Polymorphic types vs. domains

2008-12-08 Thread Greg Stark
How would it break any apps? They would hve to be depending on passing arrays as anynonarray? That seems unlikely. On the other hand I don't see much reason to backpatch. It's not like anyone is going to run into this problem unexpectedly on a running system. It just doesn't seem like a

Re: [HACKERS] Polymorphic types vs. domains

2008-12-08 Thread Tom Lane
Greg Stark [EMAIL PROTECTED] writes: How would it break any apps? Well, this would change the set of possible matches for ambiguous function calls. So it's not out of the question that you could get ambiguous-function failures that didn't happen before. regards, tom

Re: [HACKERS] Polymorphic types vs. domains

2008-12-08 Thread Grzegorz Jaskiewicz
To be honest, for me back patching would mean only that I don't have to recompile, and resend binaries to clients, after 8.1-8.3 upgrade (to utilize enums, and domains). I don't think it would break any apps tho. so in my case, obviously +1 +1 :) -- Sent via pgsql-hackers mailing list

[HACKERS] Polymorphic types vs. domains

2008-12-07 Thread Tom Lane
The proximate cause of this complaint: http://archives.postgresql.org/pgsql-general/2008-12/msg00283.php seems to be that the polymorphic-type code doesn't consider a domain over an enum type to match an ANYENUM function argument. ISTM this is probably wrong: we need such a domain to act like its