Re: How to determine the currently logged on username

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: How to determine the currently logged on username
Дата
Msg-id 200307181525.52074.richardh@archonet.com
обсуждение исходный текст
Ответ на How to determine the currently logged on username  (Chris Travers <chris@travelamericas.com>)
Список pgsql-sql
On Friday 18 July 2003 14:41, Chris Travers wrote:
> 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?

select CURRENT_USER;

--  Richard Huxton Archonet Ltd


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

Предыдущее
От: Chris Travers
Дата:
Сообщение: How to determine the currently logged on username
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [HACKERS] plpgsql strangeness with select into