[Contrib] Make Postgres work when using dynamic PV