Re: createdb

From: Alessio Bragadini <alessio(at)albourne(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: createdb
Date: 2001-07-25 07:25:34
Message-ID: 3B5E746E.8AA75325@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Donald wrote:

> Next, I wanted to create a new database name Test. Do I do this as root,
> as my new user 'ralph', or as my regular unix username?

If your user ralph has database creation rights (it was asked when
creating the user) you can do
createdb -U ralph test

or some other db user (postgres) that has the rights to create a new db.

--
Alessio F. Bragadini alessio(at)albourne(dot)com
APL Financial Services http://village.albourne.com
Nicosia, Cyprus phone: +357-2-755750

"It is more complicated than you think"
-- The Eighth Networking Truth from RFC 1925

In response to

  • createdb at 2001-07-25 05:18:16 from Greg Donald

Browse pgsql-general by date

  From Date Subject
Next Message Dr. Evil 2001-07-25 07:39:21 More.. Re: Changes to C interface from 7.0 to 7.1
Previous Message Morgan Curley 2001-07-25 07:12:20 Inserts in triggers