git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cdddd5d) | patch
PL/Python: Fix remaining scan-build warnings
2017年8月23日 00:05:49 +0000 (20:05 -0400)
2017年11月29日 14:56:49 +0000 (09:56 -0500)
commit c7f5c58e1c6bb250ff7c24970a05e033201be409
PL/Python: Fix remaining scan-build warnings

Apparently, scan-build thinks that proc->is_setof can change during
PLy_exec_function(). To make it clearer, save the value in a local
variable.

Also add an assertion to clear another warning.

Reviewed-by: John Naylor <jcnaylor@gmail.com>
src/pl/plpython/plpy_exec.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /