Refactor PLy_spi_prepare to save two levels of indentation

Peter Eisentraut <peter_e@gmx.net>

Commit: 52713d02c73926898629e349a9804cd0cae0470b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-01-24T20:13:06Z
Releases: 9.1.0
Refactor PLy_spi_prepare to save two levels of indentation

Instead of checking whether the arglist is NULL and then if its length
is 0, do it in one step, and outside of the try/catch block.

Jan Urbański

Files

PathChange+/−
src/pl/plpython/plpython.c modified +66 −66