postgresql/src
Tom Lane 1788828d33 Remove PLPGSQL_DTYPE_ARRAYELEM datum type within pl/pgsql.
In the wake of the previous commit, we don't really need this anymore,
since array assignment is primarily handled by the core code.

The only way that that code could still be reached is that a GET
DIAGNOSTICS target variable could be an array element.  But that
doesn't seem like a particularly essential feature.  I'd added it
in commit 55caaaeba, but just because it was easy not because
anyone had actually asked for it.  Hence, revert that patch and
then remove the now-unreachable stuff.  (If we really had to,
we could probably reimplement GET DIAGNOSTICS using the new
assignment machinery; but the cost/benefit ratio looks very poor,
and it'd likely be a bit slower.)

Note that PLPGSQL_DTYPE_RECFIELD remains.  It's possible that we
could get rid of that too, but maintaining the existing behaviors
for RECORD-type variables seems like it might be difficult.  Since
there's not any functional limitation in those code paths as there
was in the ARRAYELEM code, I've not pursued the idea.

Discussion: https://postgr.es/m/4165684.1607707277@sss.pgh.pa.us
2021-01-04 12:14:37 -05:00
..
backend Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
bin Update copyright for 2021 2021-01-02 13:06:25 -05:00
common Update copyright for 2021 2021-01-02 13:06:25 -05:00
fe_utils Update copyright for 2021 2021-01-02 13:06:25 -05:00
include Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
interfaces Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Remove PLPGSQL_DTYPE_ARRAYELEM datum type within pl/pgsql. 2021-01-04 12:14:37 -05:00
port Update copyright for 2021 2021-01-02 13:06:25 -05:00
template On macOS, use -isysroot in link steps as well as compile steps. 2020-11-20 00:07:09 -05:00
test Remove PLPGSQL_DTYPE_ARRAYELEM datum type within pl/pgsql. 2021-01-04 12:14:37 -05:00
timezone Update copyright for 2021 2021-01-02 13:06:25 -05:00
tools Update copyright for 2021 2021-01-02 13:06:25 -05:00
tutorial Update copyright for 2021 2021-01-02 13:06:25 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00