Re: Problems with PG_DUMP and restore
| От | Richard Huxton |
|---|---|
| Тема | Re: Problems with PG_DUMP and restore |
| Дата | |
| Msg-id | 00a701c10960$05035760$1001a8c0@archonet.com обсуждение исходный текст |
| Ответ на | Problems with PG_DUMP and restore ("Josh Berkus" <josh@agliodbs.com>) |
| Ответы |
Re: Problems with PG_DUMP and restore
|
| Список | pgsql-sql |
From: "Josh Berkus" <josh@agliodbs.com> > Folks, > > In an effort to do some general cleanup in my database functions, I > dumped the schema (pgdump -s) and the data (pgdump -a) to seperate text > files. > > I editied and restored the schema fine. However, when I attemped to > restore the data (via \i filename), it failed selectively; some tables > were restored but many were not. No errors were logged. Try having a look at the order the tables get inserted esp. with regard to any foreign keys etc. - I'm not sure pgdump is that clever about such things. - Richard Huxton
В списке pgsql-sql по дате отправления: