alaisi / postgres-async-driver

Asynchronous PostgreSQL Java driver
Apache License 2.0
287 stars 38 forks source link

Fix NullPointerException in array conversion #21

Closed ljodal closed 8 years ago

ljodal commented 8 years ago

Row#getArray() on a column where the value is NULL would result in an NullPointerException. I have changed this so it instead returns null. An alternative could be to have a method to check if a column is null.

alaisi commented 8 years ago

Merged, thanks for the contribution!