create user with database and contrib

From: Michal Hlavac <hlavki(at)medium13(dot)sk>
To: postgresql-general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: create user with database and contrib
Date: 2005-04-09 12:37:28
Message-ID: 4257CC88.8040708@medium13.sk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2005-04-09 13:04:54 Re: create user with database and contrib
Previous Message Leif B. Kristensen 2005-04-09 11:59:29 Accessing environment variables from psql