How to determine the currently logged on username

Поиск
Список
Период
Сортировка
От Chris Travers
Тема How to determine the currently logged on username
Дата
Msg-id 3F17F90F.5020403@travelamericas.com
обсуждение исходный текст
Ответы Re: How to determine the currently logged on username  (Richard Huxton <richardh@archonet.com>)
Список pgsql-sql
Hi all;

I will be writing a stored proceedure that will allow a currently logged 
in user to change his/her password.  The function needs to be only able 
to change the password of the currently logged in user, so it will only 
take a varchar() argument and needs to look up the username of the 
currently logged in user.  How do I do this?  Any ideas?

Best Wishes,
Chris Travers




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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: (trigger function) -> ERROR: NEW used in non-rule query
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: How to determine the currently logged on username