[COMMITTERS] pgsql: PL/Python: Adjust the regression tests for Python 3.4

2014-04-29 Thread Peter Eisentraut
PL/Python: Adjust the regression tests for Python 3.4 The error test case in the plpython_do test resulted in a slightly different error message with Python 3.4. So pick a different way to test it that avoids that and is perhaps also a bit clearer. Branch -- master Details --- http://gi

[COMMITTERS] pgsql: Fix whitespace

2014-04-29 Thread Peter Eisentraut
Fix whitespace Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/322173eb0a6c2f43394645f8ae33eedd70bab432 Modified Files -- src/bin/psql/print.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-

[COMMITTERS] pgsql: Improve planner to drop constant-NULL inputs of AND/OR where it'

2014-04-29 Thread Tom Lane
Improve planner to drop constant-NULL inputs of AND/OR where it's legal. In general we can't discard constant-NULL inputs, since they could change the result of the AND/OR to be NULL. But at top level of WHERE, we do not need to distinguish a NULL result from a FALSE result, so it's okay to treat

[COMMITTERS] pgsql: Improve planner to drop constant-NULL inputs of AND/OR where it'

2014-04-29 Thread Tom Lane
Improve planner to drop constant-NULL inputs of AND/OR where it's legal. In general we can't discard constant-NULL inputs, since they could change the result of the AND/OR to be NULL. But at top level of WHERE, we do not need to distinguish a NULL result from a FALSE result, so it's okay to treat

[COMMITTERS] pgsql: Improve planner to drop constant-NULL inputs of AND/OR where it'

2014-04-29 Thread Tom Lane
Improve planner to drop constant-NULL inputs of AND/OR where it's legal. In general we can't discard constant-NULL inputs, since they could change the result of the AND/OR to be NULL. But at top level of WHERE, we do not need to distinguish a NULL result from a FALSE result, so it's okay to treat

[COMMITTERS] pgsql: Remove unnecessary cast causing a warning

2014-04-29 Thread Greg Stark
Remove unnecessary cast causing a warning Incidentally, I reversed the two names in the earlier commit. The original author was Sergey Muraviov and the reviewer was Emre Hasegeli. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/dbe31616c9be7380b8a88cdfbeaa68dbdcdebc3