pgsql: Refactor PLy_spi_prepare to save two levels of indentation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Refactor PLy_spi_prepare to save two levels of indentation
Дата
Msg-id E1PhSnS-0002WV-9b@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=52713d02c73926898629e349a9804cd0cae0470b

Modified Files
--------------
src/pl/plpython/plpython.c |  132 ++++++++++++++++++++++----------------------
1 files changed, 66 insertions(+), 66 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Call PLy_spi_execute_fetch_result inside the try/catch block