Re: pg_restore not working - Mailing list pgsql-novice

From Ludwig Lim
Subject Re: pg_restore not working
Date
Msg-id 20020801041434.91422.qmail@web40018.mail.yahoo.com
Whole thread Raw
In response to pg_restore not working  ("Patrick Hatcher" <PHatcher@macys.com>)
List pgsql-novice
--- Patrick Hatcher <PHatcher@macys.com> wrote:
 Howdy.

> It kept saying that the user wasn't defined.
- try the "createuser" command

  So I manually created the database
> and tried to do the
> import and create only the schema.  However, I now
> run into the problem of
> /usr/lib/plpgsql.so file not being found.
  In your linux command prompt type :
  whereis plpgsql.so
  this should return where your plpgsql.so is located
and you can copy the file to /usr/lib

> Can I edit the file in the file.tar
> file?  And if so, how?
  tar -xvzpf <filename of your tar file>
  After that you can edit the file produce by the
command above  since it is  text file containing SQL
statement. You might not want to do this if the
database is very large.


ludwig.


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

pgsql-novice by date:

Previous
From: "Patrick Hatcher"
Date:
Subject: pg_restore not working
Next
From: "Raouf"
Date:
Subject: please need help: alpha numeric sorting