This occurs using check constraints that reference a function using data in a table that is loaded later.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных