From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: array_offset() and array_offsets() |
Date: | 2015-03-18 19:03:16 |
Message-ID: | E1YYJFM-0006Nl-WA@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
array_offset() and array_offsets()
These functions return the offset position or positions of a value in an
array.
Author: Pavel Stěhule
Reviewed by: Jim Nasby
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/13dbc7a824b3f905904cab51840d37f31a07a9ef
Modified Files
--------------
doc/src/sgml/array.sgml | 19 ++
doc/src/sgml/func.sgml | 49 +++++
src/backend/utils/adt/array_userfuncs.c | 296 +++++++++++++++++++++++++++++++
src/backend/utils/adt/arrayfuncs.c | 20 ++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 6 +
src/include/utils/array.h | 6 +-
src/pl/plpgsql/src/pl_exec.c | 2 +-
src/test/regress/expected/arrays.out | 100 +++++++++++
src/test/regress/sql/arrays.sql | 33 ++++
10 files changed, 525 insertions(+), 8 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2015-03-18 19:49:38 | pgsql: pg_upgrade: document use of rsync for slave upgrades |
Previous Message | Alvaro Herrera | 2015-03-18 18:30:15 | pgsql: Install shared libraries to bin/ in Windows under MSVC |