Make PostgreSql adapter and ORM work.

[Finishes #60019012]