pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nico De Ranter <nico.deranter@esaturnus.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_dump crashes
Date: Fri, 22 May 2020 08:01:56 -0700
Message-ID: <c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com> (raw)
In-Reply-To: <CALVv0fbuUdYxdeFb2MH1JQEbRDQER=xjcw3WptBpAi2nyy1FUQ@mail.gmail.com>
References: <CALVv0fbOkGoYaFtaE4zug6KrNcg3qSYXpZgH4w9-9gUUmr_61g@mail.gmail.com>
	<38072bf3-a3dc-2a4c-21d3-a024a2dfce8b@aklaver.com>
	<CALVv0fZT8OOLRi+XeLq9TU-AU9=MR+W1UcAaD+HXyYme9LmLyw@mail.gmail.com>
	<5655d83a-85ff-e8c0-0547-828aca12db39@aklaver.com>
	<CALVv0fbuUdYxdeFb2MH1JQEbRDQER=xjcw3WptBpAi2nyy1FUQ@mail.gmail.com>

On 5/22/20 7:55 AM, Nico De Ranter wrote:
> Correct.
> 
> If I run 'pg_dumpall --cluster 11/main --file=dump.sql'   the end of the 
> file looks like:
> 
> ###### cut here
> 4557430888798830399 1061109567 1061109567 1061109567 1061109567 16191 \N 
> \N ??????????????????????????????
> 4557430888798830399 1061109567 1061109567 1061109567 1061109567 16191 \N 
> \N ??????????????????????????????
> \.
> 
> ###### cut here
> 
> If I run 'pg_dump --table=public.file --cluster 11/main 
> --file=dump-2.sql bacula'  those lines are actually followed by about 
> 850 or so lines that look ok.  I'm assuming the difference is due to 
> buffering.
> However the fact that I do see a number of regular lines following this 
> may suggest it's just garbage in the table but not really causing the 
> issue afterall.

Assuming the above matches:

COPY public.file (fileid, fileindex, jobid, pathid, filenameid, 
deltaseq, markid, lstat, md5)

the '????????????????????' would be for the md5 field. I'm going to say 
that is important.

> 
> Nico
> 
> 
> 

> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (24+ messages)  latest in thread

Message-ID: <c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com>
Permalink:  ../c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com/
Also on:    postgresql.org/message-id/c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nico.deranter@esaturnus.com
  Subject: Re: pg_dump crashes
  In-Reply-To: <c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com>
  References: <CALVv0fbOkGoYaFtaE4zug6KrNcg3qSYXpZgH4w9-9gUUmr_61g@mail.gmail.com> <38072bf3-a3dc-2a4c-21d3-a024a2dfce8b@aklaver.com> <CALVv0fZT8OOLRi+XeLq9TU-AU9=MR+W1UcAaD+HXyYme9LmLyw@mail.gmail.com> <5655d83a-85ff-e8c0-0547-828aca12db39@aklaver.com> <CALVv0fbuUdYxdeFb2MH1JQEbRDQER=xjcw3WptBpAi2nyy1FUQ@mail.gmail.com> <c1d837db-0bd8-5e41-d276-b74ab9d98920@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox