Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    2d4db367
    Fix up text concatenation so that it accepts all the reasonable cases that · 2d4db367
    Tom Lane authored
    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.
    2d4db367
    History
    Fix up text concatenation so that it accepts all the reasonable cases that
    Tom Lane authored
    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.