Re: \du in psql patchp

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: \du in psql patchp
Дата
Msg-id Pine.LNX.4.30.0101081919150.760-100000@peter.localdomain
обсуждение исходный текст
Ответ на \du in psql patchp  (Alex Perel <aperel@verticalscope.com>)
Ответы Re: \du in psql patchp  (Alex Perel <aperel@verticalscope.com>)
Список pgsql-patches
Alex Perel writes:

> I quickly put together a patch to psql that allows one to view current
> system users. The code is very simple, but it seems to work.
>
> The usage is as follows:
>
> database=# \du [username]

Hi, we're currently in beta, but this one seems reasonable to add in 7.2.

> I apologize in advance for my lack of C skills, and I will gladly
> accept any criticism or advice. I'm hoping I can figure out a way
> to write an equivalent for groups, once I determine how to
> get around the grolist integer[] column in pg_group.

I think the pg_group table will be redesigned in 7.2 so it can be queried
better.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: "Robert B. Easter"
Дата:
Сообщение: sql.sgml patch 2 (use this one instead of the first one I sent)
Следующее
От: Alex Perel
Дата:
Сообщение: Re: \du in psql patchp