On Tue, Oct 11, 2011 at 10:40:26AM +0200, Pavel Stehule wrote:
> What do you think about this idea?
+1, belatedly. Having inherent casts to/from text since version 8.3 has
smoothed out some aggravating corner cases. If the patch isn't invasive and the
casts are all explicit-only, I anticipate a similar win.
True, unlike any -> text, not every cast will actually work. However, the
semantics are well-defined and incompatible choices can be detected just as
readily as we do for incompatible casts among scalars.