diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-01-24 22:12:01 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-01-24 22:13:06 +0200 |
commit | 52713d02c73926898629e349a9804cd0cae0470b (patch) | |
tree | 3da3d0f94f382fa4ec06a3682aa94563249a2001 /src/backend/access/gist/gistutil.c | |
parent | ea2c2641f908cde198a9999100d847078a05385b (diff) | |
download | postgresql-52713d02c73926898629e349a9804cd0cae0470b.tar.gz postgresql-52713d02c73926898629e349a9804cd0cae0470b.zip |
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
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions