Re: Timely reporting of COPY errors

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Postgresql <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Timely reporting of COPY errors
Date: 2008-04-16 21:33:18
Message-ID: 20080416213318.GE7942@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> We could possibly fix libpq to start dropping the data on the floor
> if it sees an error reply already pending, but that's only going
> to be an incremental change.

I think this incremental change makes a lot of sense. What point is
there in transmitting the data over the network, if the backend is in
error state?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-16 21:34:57 Re: Lessons from commit fest
Previous Message Bruce Momjian 2008-04-16 21:30:18 Re: Lessons from commit fest