[BUGFIX] Fix functional tests for EXT:core on PostgreSQL