summaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorThomas G. Lockhart1997-04-27 19:21:06 +0000
committerThomas G. Lockhart1997-04-27 19:21:06 +0000
commitd831e9ce19eafed68df28692808119a9701bb77b (patch)
treea5ab0a3ae0e6fb89b5c09bf2cb26bd050b2bfdb1 /src/include/miscadmin.h
parent812d5c9b684c6bf8eab673bec6c650f58cd6e358 (diff)
Change mixed-case routines to lower-case if referenced in pg_proc.h
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 9e3473a0d2a..3792a7cf850 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -11,7 +11,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: miscadmin.h,v 1.8 1997/03/25 08:09:59 scrappy Exp $
+ * $Id: miscadmin.h,v 1.9 1997/04/27 19:21:06 thomas Exp $
*
* NOTES
* some of the information in this file will be moved to
@@ -109,7 +109,7 @@ extern char *GetDatabasePath(void);
extern char *GetDatabaseName(void);
extern void SetDatabaseName(char *name);
extern void SetDatabasePath(char *path);
-extern char *GetPgUserName(void);
+extern char *getpgusername(void);
extern void SetPgUserName(void);
extern Oid GetUserId(void);
extern void SetUserId(void);
@@ -117,6 +117,8 @@ extern int ValidateBackend(char *path);
extern int FindBackend(char *backend, char *argv0);
extern int CheckPathAccess(char *path, char *name, int open_mode);
+/* lower case version for case-insensitive SQL referenced in pg_proc.h */
+#define GetPgUserName() getpgusername()
/*****************************************************************************
* pmod.h -- *