Re: Compatibility types, type aliases, and distinct types

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Compatibility types, type aliases, and distinct types
Date: 2008-08-19 08:59:14
Message-ID: 200808191159.16744.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-08-19 09:11:35 Re: possible minor EXPLAIN bug?
Previous Message Asko Oja 2008-08-19 08:27:09 Re: Patch: plan invalidation vs stored procedures