Re: COPY table FROM STDIN doesn't show count tag

From: Amit Khandekar <amit(dot)khandekar(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY table FROM STDIN doesn't show count tag
Date: 2013-11-21 05:50:12
Message-ID: CACoZds02GvEKgEZkBkqkLcmb859q0dYT+8YniniicoJhH5ejRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 November 2013 10:13, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Amit Khandekar <amit(dot)khandekar(at)enterprisedb(dot)com> writes:
> > Rather than a behaviour change, it is a bug that we are fixing. User
> > already expects to see copy status printed, so as per user there would be
> > no behaviour change.
>
> This is arrant nonsense. It's a behavior change. You can't make it
> not that by claiming something about user expectations. Especially
> since this isn't exactly a corner case that nobody has seen in
> the fifteen years or so that it's worked like that. People do know
> how this works.
>

Yes, I agree that this is not a corner case, so users may already know the
current behaviour.

>
> I don't object to changing it, but I do agree with Robert that it's
> important to quantize such changes, ie, try to get a set of related
> changes to appear in the same release. People don't like repeatedly
> revising their code for such things.
>

Ok. we will then first fix the \COPY TO issue where it does not revert back
the overriden psql output file handle. Once this is solved, fix for both
COPY FROM and COPY TO, like how it is done in the patch earlier (
copydefectV2.patch).

>
> regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Haribabu kommi 2013-11-21 06:51:22 Re: New option for pg_basebackup, to specify a different directory for pg_xlog
Previous Message firoz e v 2013-11-21 05:23:41 Re: [PoC] pgstattuple2: block sampling to reduce physical read