added row template for postgres.