Re: pg_restore COPY error handling

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_restore COPY error handling
Date: 2006-02-02 00:58:06
Message-ID: 20060202005806.GJ4474@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

* Bruce Momjian (pgman(at)candle(dot)pha(dot)pa(dot)us) wrote:
> Stephen Frost wrote:
> -- Start of PGP signed section.
> > * Bruce Momjian (pgman(at)candle(dot)pha(dot)pa(dot)us) wrote:
> > > Stephen Frost wrote:
> > > > Great! It'd be really nice to have this fix in 8.1.3... :)
> > >
> > > No, it will not be in 8.1.3. It is a new feature.
> >
> > I'd really appriciate it if you could review my post to pgsql-bugs,
> > Message-ID: <20060120144957(dot)GG6026(at)ns(dot)snowman(dot)net>. If this patch is
> > considered a new feature then I'd like to either revisit that decision
> > or be given some direction on what a bug-fix patch for the grows-to-3G
> > bug would look like.
>
> Oh, so when it skips the \., it reads the rest of the file and bombs
> out? I thought it just continued fine. How is that failure happening?

It doesn't actually bomb out either. On the system I was working with
what happened was that it hung after reading in the COPY data. It
looked like it got stuck somehow while trying to parse the data as an
SQL command.

Thanks,

Stephen

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2006-02-02 00:59:18 Re: pg_restore COPY error handling
Previous Message Tom Lane 2006-02-01 23:03:41 Re: pg_restore COPY error handling