Re: Compatibility types, type aliases, and distinct types - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Compatibility types, type aliases, and distinct types
Date
Msg-id 200808191159.16744.peter_e@gmx.net
Whole thread Raw
In response to Re: Compatibility types, type aliases, and distinct types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Compatibility types, type aliases, and distinct types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Am Monday, 18. August 2008 schrieb Tom Lane:
> If the type has no functions of its own, then the only way to make it
> easily usable is to throw in implicit conversions *in both directions*
> between it and the type it's an alias for.  You're going to find that
> that's a problem.

I'm not finding that that's a problem.  We have several cases of that in the 
standard catalogs already.  What kind of problem are you foreseeing?

One direction of the cast could be AS ASSIGNMENT, btw., but that is another 
decision that would have to be worked out.


pgsql-hackers by date:

Previous
From: "Asko Oja"
Date:
Subject: Re: Patch: plan invalidation vs stored procedures
Next
From: Simon Riggs
Date:
Subject: Re: possible minor EXPLAIN bug?