Re: pg_dump, formats & blobs
От | Philip Warner |
---|---|
Тема | Re: pg_dump, formats & blobs |
Дата | |
Msg-id | 3.0.5.32.20010414114418.00b3d2e0@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | pg_dump, formats & blobs (Mathijs Brands <mathijs@ilse.nl>) |
Ответы |
Re: pg_dump, formats & blobs
|
Список | pgsql-hackers |
At 01:14 14/04/01 +0200, Mathijs Brands wrote: ... >sol2:~$ pg_dump -b -Fc -f blaat.bk blaat >sol2:~$ pg_restore -l blaat.bk ... >; >; Archive created at Sat Apr 14 01:03:02 2001 ... This all looks fine. >sol2:~$ pg_dump -b -Ft -f blaat.tar blaat >zsh: segmentation fault (core dumped) pg_dump -b -Ft -f blaat.tar blaat This is less good. It's caused by the final part of TAR output, which also dumps a plain SQL script for reference (not actually ever used by pg_restore). I will fix this in CVS; ctx->filename is set to null for this script, and my compiler outputs '(null)', which is very forgiving of it. > >Could this be caused by the fact that IMHO blobs aren't dumped correctly? > Is there some other problem with BLOBs that you did not mention? AFAICT, this is only a problem with TAR output (an will be fixed ASAP). ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.B.N. 75 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: