Skip site navigation (1) Skip section navigation (2)

pgsql/src/include/utils (acl.h)

From: Peter Eisentraut - PostgreSQL <petere>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/include/utils (acl.h)
Date: 2000-09-06 14:15:33
Message-ID: 200009061415.e86EFXq04171@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
  Date: Wednesday, September  6, 2000 @ 10:15:31
Author: petere

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/utils
     from hub.org:/home/projects/pgsql/tmp/cvs-serv3236/src/include/utils

Modified Files:
	acl.h 

-----------------------------  Log Message  -----------------------------

Code cleanup of user name and user id handling in the backend. The current
user is now defined in terms of the user id, the user name is only computed
upon request (for display purposes). This is kind of the opposite of the
previous state, which would maintain the user name and compute the user id
for permission checks.

Besides perhaps saving a few cycles (integer vs string), this now creates a
single point of attack for changing the user id during a connection, for
purposes of "setuid" functions, etc.


pgsql-committers by date

Next:From: Alfred PerlsteinDate: 2000-09-06 18:10:18
Subject: Re: REL7_0_PATCHES pgsql/src/include (config.h.in)
Previous:From: Peter Eisentraut - PostgreSQLDate: 2000-09-06 14:15:29
Subject: pgsql/src/include/tcop (tcopprot.h)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group