postgresql/src/test/regress
Noah Misch 7cd9b1371d Expose object name error fields in PL/pgSQL.
Specifically, permit attaching them to the error in RAISE and retrieving
them from a caught error in GET STACKED DIAGNOSTICS.  RAISE enforces
nothing about the content of the fields; for its purposes, they are just
additional string fields.  Consequently, clarify in the protocol and
libpq documentation that the usual relationships between error fields,
like a schema name appearing wherever a table name appears, are not
universal.  This freedom has other applications; consider a FDW
propagating an error from an RDBMS having no schema support.

Back-patch to 9.3, where core support for the error fields was
introduced.  This prevents the confusion of having a release where libpq
exposes the fields and PL/pgSQL does not.

Pavel Stehule, lexical revisions by Noah Misch.
2013-07-03 07:29:56 -04:00
..
data Fix GIN to support null keys, empty and null items, and full index scans. 2011-01-07 19:16:24 -05:00
expected Expose object name error fields in PL/pgSQL. 2013-07-03 07:29:56 -04:00
input Add support for multiple kinds of external toast datums. 2013-07-02 13:38:55 -04:00
output Add support for multiple kinds of external toast datums. 2013-07-02 13:38:55 -04:00
sql Expose object name error fields in PL/pgSQL. 2013-07-03 07:29:56 -04:00
.gitignore
GNUmakefile Fix regression test make dependencies 2013-07-01 21:10:36 -04:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
parallel_schedule Add support for multiple kinds of external toast datums. 2013-07-02 13:38:55 -04:00
pg_regress_main.c
pg_regress.c pg_regress: Allow overriding diff options 2013-01-29 22:59:45 -05:00
pg_regress.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
regress.c Add support for multiple kinds of external toast datums. 2013-07-02 13:38:55 -04:00
regressplans.sh Tweak regressplans.sh to use any already-set PGOPTIONS. 2000-12-18 02:45:47 +00:00
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Add support for multiple kinds of external toast datums. 2013-07-02 13:38:55 -04:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00