postgresql/src
Tom Lane abb164655c Fix unexpected side-effects of operator_precedence_warning.
The implementation of that feature involves injecting nodes into the
raw parsetree where explicit parentheses appear.  Various places in
parse_expr.c that test to see "is this child node of type Foo" need to
look through such nodes, else we'll get different behavior when
operator_precedence_warning is on than when it is off.  Note that we only
need to handle this when testing untransformed child nodes, since the
AEXPR_PAREN nodes will be gone anyway after transformExprRecurse.

Per report from Scott Ribe and additional code-reading.  Back-patch
to 9.5 where this feature was added.

Report: <ED37E303-1B0A-4CD8-8E1E-B9C4C2DD9A17@elevated-dev.com>
2016-04-21 23:17:36 -04:00
..
backend Fix unexpected side-effects of operator_precedence_warning. 2016-04-21 23:17:36 -04:00
bin Add pg_dump support for the new PARALLEL option for aggregates. 2016-04-20 23:06:06 -04:00
common Remove redundant message in AddUserToTokenDacl(). 2016-04-06 23:40:51 -04:00
fe_utils Support \crosstabview in psql 2016-04-08 20:23:18 -03:00
include Improve TranslateSocketError() to handle more Windows error codes. 2016-04-21 16:58:47 -04:00
interfaces Remove unnecessary definition of _WIN64 in libpq/win32.mak. 2016-04-12 10:52:58 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Fix freshly-introduced PL/Python portability bug. 2016-04-11 18:17:20 -04:00
port Standardize GetTokenInformation() error reporting. 2016-04-06 23:41:43 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Fix planner failure with full join in RHS of left join. 2016-04-21 20:05:58 -04:00
timezone Suppress compiler warning. 2016-04-02 13:49:17 -04:00
tools Update helptext for vcregress.pl 2016-04-15 10:04:10 +02:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04: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 Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00