postgresql/src
Tom Lane 93ec0c90cd Fix incorrect strictness test for ArrayCoerceExpr expressions.
The recursion in contain_nonstrict_functions_walker() was done wrong,
causing the strictness check to be bypassed for a parse node that
is the immediate input of an ArrayCoerceExpr node.  This could allow,
for example, incorrect decisions about whether a strict SQL function
can be inlined.

I didn't add a regression test, because (a) the bug is so narrow
and (b) I couldn't think of a test case that wasn't dependent on a
large number of other behaviors, to the point where it would likely
soon rot to the point of not testing what it was intended to.

I broke this in commit c12d570fa, so back-patch to v11.

Discussion: https://postgr.es/m/27571.1550617881@sss.pgh.pa.us
2019-02-20 13:36:55 -05:00
..
backend Fix incorrect strictness test for ArrayCoerceExpr expressions. 2019-02-20 13:36:55 -05:00
bin Fix some issues with TAP tests of pg_basebackup 2019-02-18 14:23:44 +09:00
common Fix portability failure introduced in commits d2b0b60e7 et al. 2018-12-26 15:30:22 -05:00
fe_utils Fix translation of special characters in psql's LaTeX output modes. 2018-11-26 17:32:51 -05:00
include Stamp 11.2. 2019-02-11 16:17:27 -05:00
interfaces Fix omissions in ecpg/test/sql/.gitignore. 2019-02-18 21:24:38 -05:00
makefiles Move port-specific parts of with_temp_install to port makefile. 2019-02-04 18:56:17 +00:00
pl Translation updates 2019-02-11 14:31:57 +01:00
port Stamp 11.2. 2019-02-11 16:17:27 -05:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix DEFAULT-handling in multi-row VALUES lists for updatable views. 2019-02-20 08:28:42 +00:00
timezone Update time zone data files to tzdata release 2018i. 2019-02-05 10:59:06 -05:00
tools Unify searchpath and do file logic in MSVC build scripts. 2019-02-06 07:49:07 -05:00
tutorial Update copyright for 2018 2018-01-02 23:30:12 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Move port-specific parts of with_temp_install to port makefile. 2019-02-04 18:56:17 +00:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00