1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +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

@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.111 2002/10/03 17:07:53 momjian Exp $
* $Id: miscadmin.h,v 1.112 2002/12/04 05:18:34 momjian Exp $
*
* NOTES
* some of the information in this file should be moved to
@ -202,7 +202,13 @@ extern void SetDatabasePath(const char *path);
extern char *GetUserNameFromId(Oid userid);
extern Oid GetUserId(void);
/*
* AclId system identifier for the user, group, etc.
* XXX Perhaps replace this type by OID?
*/
typedef uint32 AclId;
extern AclId GetUserId(void);
extern void SetUserId(Oid userid);
extern Oid GetSessionUserId(void);
extern void SetSessionUserId(Oid userid);