create user with database and contrib - Mailing list pgsql-general

From Michal Hlavac
Subject create user with database and contrib
Date
Msg-id 4257CC88.8040708@medium13.sk
Whole thread Raw
Responses Re: create user with database and contrib  (Oleg Bartunov <oleg@sai.msu.su>)
List 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 by date:

Previous
From: "Leif B. Kristensen"
Date:
Subject: Accessing environment variables from psql
Next
From: Oleg Bartunov
Date:
Subject: Re: create user with database and contrib