[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun

[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun

[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun

[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun

[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun

[COMMITTERS] pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra

2016-03-08 Thread Andres Freund
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array. plperl_ref_from_pg_array() didn't consider the case that postgrs arrays can have 0 dimensions (when they're empty) and accessed the first dimension without a check. Fix that by special casing the empty array case. Author: Alex Hun