Adding users and groups/roles without SQL?

Поиск
Список
Период
Сортировка
Искать

Adding users and groups/roles without SQL?

От:
"Jaroslav Záruba" <jaroslav.zaruba@gmail.com>
Дата:
Hello

Please how do you create users and groups/roles w/o SQL?

I know how to create a user with query-command, also I would probably find the proper command for roles quickly... But I am quite confused by the fact that the "Groups" and "Users" items (in the server-subtree) don't provide "New group" or "New user" option in their context menus. Is it possible to create these kind of objects without writing a query?

I have pgAdmin 1.8.2 and I am connected to the server as a superuser.
Could this be dependant on what version of Postgres is on the server?

Best regards
  Jaroslav Z.

(I guess this is rather silly question but I wasn't able to find the answer in the archive; mostly I find threads related to sql-commands like "CREATE ROLE" etc.)

Re: Adding users and groups/roles without SQL?

От:
Raymond O'Donnell <rod@iol.ie>
Дата:
On 17/05/2008 14:40, Jaroslav Záruba wrote:

> find the proper command for roles quickly... But I am quite confused by 
> the fact that the "Groups" and "Users" items (in the server-subtree) 
> don't provide "New group" or "New user" option in their context menus. 

It does for me....right-click on "Login Roles" and you get a menu item 
"New Login Role..." as expected. I'm using 1.8.2.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

FAQ