Postgres object generation works now