Re: Help - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Help
Date
Msg-id 1114702463.13303.1341.camel@state.g2switchworks.com
Whole thread Raw
In response to Help  (ElayaRaja S <elayaraja.s@gmail.com>)
Responses Is there a bug in the win32 pg_restore (version 8.02) ?  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
On Thu, 2005-04-28 at 09:51, ElayaRaja S wrote:
> After login as su postgres
> I am unable to create the db;
>
>
> $ createdb -E utf8 -U system myDB;
> ERROR:  permission denied to create database
> createdb: database creation failed: ERROR:  permission denied to create database

What's with the -U system in there?

As the postgres user, (i.e. either leave out the -U system or make it -U
postgres) it should work fine.  Oh, and you MAY want to just stick to
lower case names for databases, tables, fields etc... It's easier in the
long run.

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: Thanks for insights into internal design
Next
From: Tony Caduto
Date:
Subject: Is there a bug in the win32 pg_restore (version 8.02) ?