I forgot to mention: The behaviour is intermittent, a succesfull execution may occur. One sure way to trigger it seems to be: CREATE EXTENSION castbug; DROP EXTENSION castbug; CREATE EXTENSION castbug; This problem does not occur on 9.4.4
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных