Fixed generation models of PostgreSQL.

Fixed generation models of PostgreSQL.
Corrected format initialization methods.