[SR-Dev] git:janakj/postgres: - unify common rows and row allocation functionality in the DB API core