Fix up text concatenation so that it accepts all the reasonable cases that

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d4db3675fa7a2f4831b755bc98242421901042f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-06-06T23:00:50Z
Releases: 8.3.0
Fix up text concatenation so that it accepts all the reasonable cases that
were accepted by prior Postgres releases.  This takes care of the loose end
left by the preceding patch to downgrade implicit casts-to-text.  To avoid
breaking desirable behavior for array concatenation, introduce a new
polymorphic pseudo-type "anynonarray" --- the added concatenation operators
are actually text || anynonarray and anynonarray || text.

Files