pg_restore not working
| От | Patrick Hatcher |
|---|---|
| Тема | pg_restore not working |
| Дата | |
| Msg-id | OF18ED8DE3.0549D2A3-ON88256C08.0000C2E6-88256C08.000402A1@fds.com обсуждение исходный текст |
| Ответы |
Re: pg_restore not working
|
| Список | pgsql-novice |
Howdy. I did an export of a 7.1.3 database using the example pg_dump -Ft -b mydatabase > file.tar. I then tried to do a pg_restore on my 7.2.1 database but kept running into errors. First off, the users were not defined, so I tried -O but that didn't work. It kept saying that the user wasn't defined. 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. I was able to do a createlang, so I know the file exists some place on my machine. So how can I get around this? Can I edit the file in the file.tar file? And if so, how? I'm sorry, I'm not that Linux savvy. TIA Patrick Hatcher
В списке pgsql-novice по дате отправления: