Make pgsql refdb stubs, basically copied from odb code.
Set backend version field.
Remove size column from db and fix endianness issue.
Use GIT_OID_RAWSZ const for oid length.