Refactor PLy_spi_prepare to save two levels of indentation
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

Postgres-XL/Postgres-XL,greenplum-db/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,ovr/postgres-xl,xinzweb/gpdb,lisakowen/gpdb,jmcatamney/gpdb,lisakowen/gpdb,greenplum-db/gpdb,postmind-net/postgres-xl,50wu/gpdb,jmcatamney/gpdb,snaga/postgres-xl,zeroae/postgres-xl,arcivanov/postgres-xl,zeroae/postgres-xl,ovr/postgres-xl,xinzweb/gpdb,postmind-net/postgres-xl,ashwinstar/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,ovr/postgres-xl,greenplum-db/gpdb,xinzweb/gpdb,xinzweb/gpdb,greenplum-db/gpdb,xinzweb/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,tpostgres-projects/tPostgres,pavanvd/postgres-xl,oberstet/postgres-xl,lisakowen/gpdb,kmjungersen/PostgresXL,yazun/postgres-xl,ashwinstar/gpdb,50wu/gpdb,jmcatamney/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,tpostgres-projects/tPostgres,zeroae/postgres-xl,oberstet/postgres-xl,50wu/gpdb,greenplum-db/gpdb,lisakowen/gpdb,adam8157/gpdb,arcivanov/postgres-xl,oberstet/postgres-xl,kmjungersen/PostgresXL,lisakowen/gpdb,arcivanov/postgres-xl,adam8157/gpdb,pavanvd/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,postmind-net/postgres-xl,yazun/postgres-xl,techdragon/Postgres-XL,jmcatamney/gpdb,50wu/gpdb,kmjungersen/PostgresXL,50wu/gpdb,kmjungersen/PostgresXL,zeroae/postgres-xl,adam8157/gpdb,xinzweb/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,yazun/postgres-xl,jmcatamney/gpdb,techdragon/Postgres-XL,techdragon/Postgres-XL,xinzweb/gpdb,yazun/postgres-xl,zeroae/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,greenplum-db/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,ashwinstar/gpdb,snaga/postgres-xl,postmind-net/postgres-xl,techdragon/Postgres-XL,techdragon/Postgres-XL,ashwinstar/gpdb,adam8157/gpdb,50wu/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,lisakowen/gpdb,snaga/postgres-xl,postmind-net/postgres-xl,jmcatamney/gpdb,tpostgres-projects/tPostgres,snaga/postgres-xl,greenplum-db/gpdb,jmcatamney/gpdb,adam8157/gpdb,yazun/postgres-xl,lisakowen/gpdb,tpostgres-projects/tPostgres,adam8157/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,xinzweb/gpdb,ovr/postgres-xl,ashwinstar/gpdb,kmjungersen/PostgresXL,lisakowen/gpdb