Adam, thanks for the prompt report.
Please feel free to review a suggested fix:https://github.com/pgjdbc/pgjdbc/pull/1250
Vladimir