pgsql: Pass down current user ID to AddRoleMems and DelRoleMems.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Pass down current user ID to AddRoleMems and DelRoleMems.
Дата
Msg-id E1pDW1H-002D2L-OK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Pass down current user ID to AddRoleMems and DelRoleMems.

This is just refactoring; there should be no functonal change. It
might have the effect of slightly reducing the number of calls to
GetUserId(), but the real point is to facilitate future work in
this area.

Patch by me, reviewed by Mark Dilger.

Discussion: http://postgr.es/m/CA+TgmobFzTLkLwOquFrAcdsWBsOWDr-_H-jw+qBvfx-wSzMwDA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/39cffe95f2c5d77a268db9f04c2b2aaf2294ad76

Modified Files
--------------
src/backend/commands/user.c | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Refactor permissions-checking for role grants.
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Use unnamed POSIX semaphores on Cygwin.