1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Get rid of last few unadorned 'permission denied' messages.

This commit is contained in:
Tom Lane
2003-01-27 00:51:06 +00:00
parent 4b833d080b
commit 33875872fd
5 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.99 2003/01/25 05:19:46 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.100 2003/01/27 00:51:06 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -616,7 +616,7 @@ SetSessionAuthorization(AclId userid)
if (userid != AuthenticatedUserId &&
!AuthenticatedUserIsSuperuser)
elog(ERROR, "permission denied");
elog(ERROR, "SET SESSION AUTHORIZATION: permission denied");
SetSessionUserId(userid);
SetUserId(userid);