postgresql/src/backend
Tom Lane d4545dc19b Complain if a function-in-FROM returns a set when it shouldn't.
Throw a "function protocol violation" error if a function in FROM
tries to return a set though it wasn't marked proretset.  Although
such cases work at the moment, it doesn't seem like something we
want to guarantee will keep working.  Besides, there are other
negative consequences of not setting the proretset flag, such as
potentially bad plans.

No back-patch, since if there is any third-party code violating
this expectation, people wouldn't appreciate us breaking it in
a minor release.

Discussion: https://postgr.es/m/1636062.1615141782@sss.pgh.pa.us
2021-03-08 18:54:55 -05:00
..
access Track replication origin progress for rollbacks. 2021-03-08 07:54:03 +05:30
bootstrap
catalog Add trim_array() function. 2021-03-03 16:39:57 -05:00
commands Validate the OID argument of pg_import_system_collations(). 2021-03-08 18:21:51 -05:00
executor Complain if a function-in-FROM returns a set when it shouldn't. 2021-03-08 18:54:55 -05:00
foreign
jit
lib
libpq Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
main
nodes
optimizer
parser
partitioning
po
port
postmaster Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
regex Further tweak memory management for regex DFAs. 2021-03-08 16:32:29 -05:00
replication
rewrite
snowball
statistics
storage
tcop Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
tsearch
utils Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00