pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa 3+ messages / 1 participants [nested] [flat]
* pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa @ 2016-08-18 18:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-08-18 18:49 UTC (permalink / raw) To: 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.1529.37913@wrigleys.postgresql.org> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/c81c71d8846fa1667e67b45559ce4c72a8e076d9 Modified Files -------------- src/include/utils/array.h | 2 +- src/pl/plpgsql/src/pl_comp.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa @ 2016-08-18 18:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-08-18 18:49 UTC (permalink / raw) To: 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.1529.37913@wrigleys.postgresql.org> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/5697522d8411135d26a5d807f9e4afa182502f64 Modified Files -------------- src/include/utils/array.h | 2 +- src/pl/plpgsql/src/pl_comp.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa @ 2016-08-18 18:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-08-18 18:49 UTC (permalink / raw) To: 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.1529.37913@wrigleys.postgresql.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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-08-18 18:49 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-08-18 18:49 pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa Tom Lane <tgl@sss.pgh.pa.us> 2016-08-18 18:49 pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa Tom Lane <tgl@sss.pgh.pa.us> 2016-08-18 18:49 pgsql: In plpgsql, don't try to convert int2vector or oidvector to expa Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox