diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-09 18:00:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-09 18:00:24 +0000 |
commit | 83b06823f63aefa40736c1797890d13c043f352d (patch) | |
tree | 0fa78d87d8f12cd9218c3982dab5eea7563846e2 /src/include/miscadmin.h | |
parent | 9df2c440326cf5ebfe485af4e76938c12faa220d (diff) | |
download | postgresql-83b06823f63aefa40736c1797890d13c043f352d.tar.gz postgresql-83b06823f63aefa40736c1797890d13c043f352d.zip |
Move new typedef AclId into c.h, so as to avoid cluttering namespace
by having to include miscadmin.h into other header files.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index ce254a9261c..f5146926681 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -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.114 2002/12/09 18:21:43 tgl Exp $ + * $Id: miscadmin.h,v 1.115 2003/01/09 18:00:24 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -176,7 +176,7 @@ extern bool EnableSSL; extern bool SilentMode; extern int MaxBackends; extern int ReservedBackends; -extern int NBuffers; +extern DLLIMPORT int NBuffers; extern int PostPortNumber; extern int Unix_socket_permissions; extern char *Unix_socket_group; @@ -200,13 +200,7 @@ extern char *ExpandDatabasePath(const char *path); extern void SetDatabaseName(const char *name); extern void SetDatabasePath(const char *path); -/* - * AclId system identifier for the user, group, etc. - */ -typedef int32 AclId; - extern char *GetUserNameFromId(AclId userid); - extern AclId GetUserId(void); extern void SetUserId(AclId userid); extern AclId GetSessionUserId(void); |