Re: create user with database and contrib

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Michal Hlavac <hlavki(at)medium13(dot)sk>
Cc: postgresql-general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: create user with database and contrib
Date: 2005-04-09 13:04:54
Message-ID: Pine.GSO.4.62.0504091704070.16872@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 9 Apr 2005, Michal Hlavac wrote:

> 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...

so, what's the problem ?
psql diplo < ltree.sql

>
> thanks, miso
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michal Hlavac 2005-04-09 13:19:58 Re: create user with database and contrib
Previous Message Michal Hlavac 2005-04-09 12:37:28 create user with database and contrib