Re: pg_dump, formats & blobs

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Mathijs Brands <mathijs(at)ilse(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump, formats & blobs
Date: 2001-04-14 01:44:18
Message-ID: 3.0.5.32.20010414114418.00b3d2e0@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-14 01:48:38 Re: Re: Tag'd, packaged and ready to go ...
Previous Message Philip Warner 2001-04-14 01:43:02 Re: pg_dump ordering problem (rc4)