pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa
Date: 2016-08-18 18:49:18
Message-ID: E1baSNS-0001Fo-Ro@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

In plpgsql, don't try to convert int2vector or oidvector to expanded array.

These types are storage-compatible with real arrays, but they don't support
toasting, so of course they can't support expansion either.

Per bug #14289 from Michael Overmeyer. Back-patch to 9.5 where expanded
arrays were introduced.

Report: <20160818174414(dot)1529(dot)37913(at)wrigleys(dot)postgresql(dot)org>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a8fc1950520985f321d4d07da9b1c633c0addd97

Modified Files
--------------
src/include/utils/array.h | 2 +-
src/pl/plpgsql/src/pl_comp.c | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-08-18 19:39:46 Re: [COMMITTERS] pgsql: Fix deletion of speculatively inserted TOAST on conflict
Previous Message Peter Eisentraut 2016-08-18 17:55:39 pgsql: doc: Speed up XSLT builds