Code cleanup of user name and user id handling in the backend. The current

Peter Eisentraut <peter_e@gmx.net>

Commit: 6dc249610a87aa8b9dcc8baf4e64d2e14d02f548
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2000-09-06T14:15:31Z
Releases: 7.1.1
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.

Files