pgsql/src/include/commands (rename.h)

Поиск
Список
Период
Сортировка
От Peter Eisentraut - PostgreSQL
Тема pgsql/src/include/commands (rename.h)
Дата
Msg-id 200009061415.e86EFRb04078@hub.org
обсуждение исходный текст
Список pgsql-committers
  Date: Wednesday, September  6, 2000 @ 10:15:26
Author: petere

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

Modified Files:
    rename.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 по дате отправления:

Предыдущее
От: Peter Eisentraut - PostgreSQL
Дата:
Сообщение: pgsql/src/backend/utils/misc (superuser.c)
Следующее
От: Peter Eisentraut - PostgreSQL
Дата:
Сообщение: pgsql/src/include/tcop (tcopprot.h)