Re: Really Dumb Question...(Dumping db) - Mailing list pgsql-general

From Brent R. Matzelle
Subject Re: Really Dumb Question...(Dumping db)
Date
Msg-id 200103211610.f2LGApt03553@mail.postgresql.org
Whole thread Raw
In response to Really Dumb Question...(Dumping db)  (Joseph Koenig <joe@jwebmedia.com>)
List pgsql-general
3/20/2001 11:23:19 AM, Joseph Koenig <joe@jwebmedia.com> wrote:

>Alright, Next question. I got the dump out (thanks for all the help).
>Now I can't get it back in on the other server! It keeps telling me
>permission denied to the file itself. I even tried chmod'ing it to 777
>and changing the ownership to postgres.postgres, su to postgres and it
>says "permission denied" when I try to:
>psql -e worldwide < worldwide.pgdump

You must supply a username that has permissions to perform creates and
inserts on the database:

% psql -U postgres -e worldwide < wordwide.pgdump

Brent

---
Brent R. Matzelle
Software Engineer
Information Services
Main Line Health Systems
Tel: 610-240-4566
Pager: 610-640-8437
matzelleb@mlhs.org



pgsql-general by date:

Previous
From: Feite Brekeveld
Date:
Subject: to_timestamp question
Next
From: "Poul L. Christiansen"
Date:
Subject: Re: Cold Fusion/ODBC