create user with database and contrib

Поиск
Список
Период
Сортировка
От Michal Hlavac
Тема create user with database and contrib
Дата
Msg-id 4257CC88.8040708@medium13.sk
обсуждение исходный текст
Ответы Re: create user with database and contrib  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
hello,

is there some simple way, how to do this???

I need to create user 'diplo' with no database create and no add users
privileges...

createuser -A -D -P -E -U root diplo

after that I create database 'diplo';

I need to import ltree into database 'diplo' with user diplo, but I
can't add grant access to language 'c', because only superusers can do
that...

thanks, miso

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

Предыдущее
От: "Leif B. Kristensen"
Дата:
Сообщение: Accessing environment variables from psql
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: create user with database and contrib