pgsql: arrays: tighten checks for multi-dimensional input

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: arrays: tighten checks for multi-dimensional input
Date: 2014-02-01 15:49:23
Message-ID: E1W9cot-0006CA-Cf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

arrays: tighten checks for multi-dimensional input

Previously an input array string that started with a single-element
array dimension would then later accept a multi-dimensional segment.

BACKWARD INCOMPATIBILITY

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/arrayfuncs.c | 8 ++++----
src/test/regress/expected/arrays.out | 2 +-
src/test/regress/sql/arrays.sql | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2014-02-01 20:17:16 pgsql: Copy the libpq DLL to the bin directory on Mingw and Cygwin.
Previous Message Andres Freund 2014-02-01 09:37:56 Re: pgsql: Introduce replication slots.