mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Add SET SESSION AUTHORIZATION command.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.84 2001/04/21 18:29:29 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.85 2001/05/08 21:06:43 petere Exp $
|
||||
*
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
@ -341,7 +341,7 @@ InitPostgres(const char *dbname, const char *username)
|
||||
if (bootstrap)
|
||||
SetSessionUserId(geteuid());
|
||||
else
|
||||
SetSessionUserIdFromUserName(username);
|
||||
InitializeSessionUserId(username);
|
||||
|
||||
/*
|
||||
* Unless we are bootstrapping, double-check that InitMyDatabaseInfo()
|
||||
|
Reference in New Issue
Block a user