mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
First batch of object rename commands.
This commit is contained in:
@ -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.123 2003/05/28 18:19:09 tgl Exp $
|
||||
* $Id: miscadmin.h,v 1.124 2003/06/27 14:45:31 petere Exp $
|
||||
*
|
||||
* NOTES
|
||||
* some of the information in this file should be moved to
|
||||
@ -192,7 +192,6 @@ extern char *VirtualHost;
|
||||
* POSTGRES directory path definitions. *
|
||||
*****************************************************************************/
|
||||
|
||||
extern char *DatabaseName;
|
||||
extern char *DatabasePath;
|
||||
|
||||
/* in utils/misc/database.c */
|
||||
@ -200,7 +199,6 @@ extern void GetRawDatabaseInfo(const char *name, Oid *db_id, char *path);
|
||||
extern char *ExpandDatabasePath(const char *path);
|
||||
|
||||
/* now in utils/init/miscinit.c */
|
||||
extern void SetDatabaseName(const char *name);
|
||||
extern void SetDatabasePath(const char *path);
|
||||
|
||||
extern char *GetUserNameFromId(AclId userid);
|
||||
@ -226,8 +224,6 @@ extern char *convertstr(unsigned char *buff, int len, int dest);
|
||||
/* in utils/misc/superuser.c */
|
||||
extern bool superuser(void); /* current user is superuser */
|
||||
extern bool superuser_arg(AclId userid); /* given user is superuser */
|
||||
extern bool is_dbadmin(Oid dbid); /* current user is owner of
|
||||
* database */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
|
Reference in New Issue
Block a user