EZP-22103: fix failure with Postgres