diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-27 19:08:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-27 19:08:38 +0000 |
commit | ea886339b8406674ebceb456e5ef1b4fc7c170b4 (patch) | |
tree | 951e5d1e2ac625fb41a9aad8eee27192d8770844 /src/include/miscadmin.h | |
parent | 3e0bdfadc354fe3710a5ea1281b6c813c8ffee33 (diff) | |
download | postgresql-ea886339b8406674ebceb456e5ef1b4fc7c170b4.tar.gz postgresql-ea886339b8406674ebceb456e5ef1b4fc7c170b4.zip |
Add is_superuser parameter reporting, soon to be used by psql.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index f88b9835045..213d2581333 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.124 2003/06/27 14:45:31 petere Exp $ + * $Id: miscadmin.h,v 1.125 2003/06/27 19:08:38 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -208,7 +208,7 @@ extern AclId GetSessionUserId(void); extern void SetSessionUserId(AclId userid); extern void InitializeSessionUserId(const char *username); extern void InitializeSessionUserIdStandalone(void); -extern void SetSessionAuthorization(AclId userid); +extern void SetSessionAuthorization(AclId userid, bool is_superuser); extern void SetDataDir(const char *dir); |