1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Make usesysid consistently int4, not oid.

Catalog patch from Alvaro Herrera for same.

catversion updated. initdb required.
This commit is contained in:
Bruce Momjian
2002-12-04 05:18:38 +00:00
parent 91f508ae85
commit 93902e9521
11 changed files with 45 additions and 42 deletions

View File

@ -272,7 +272,7 @@ pg_stat_get_backend_userid(PG_FUNCTION_ARGS)
if ((beentry = pgstat_fetch_stat_beentry(beid)) == NULL)
PG_RETURN_NULL();
PG_RETURN_OID(beentry->userid);
PG_RETURN_INT32(beentry->userid);
}