PostgreSQL 9 is not supported anymore. The latest fix version of 10 has a fix for this AFAIR, so updating your database is required.