Re: COPY FROM WITH HEADER skips a tuple every 4 billion tuples

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: COPY FROM WITH HEADER skips a tuple every 4 billion tuples
Date: 2018-05-22 21:04:35
Message-ID: CAKJS1f-CwG_aP=H4zxaxv+SEE-cZvAhRy8YDRiow6g8kaXxRpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for pushing.

On 23 May 2018 at 03:55, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Hm, so why is the correct rowcount returned --- are we running
> a separate counter for that purpose, and if so why?

I thought the output I pasted was clearly showing it not to be the
same. 4299999999 vs 4300000000.

Did I misunderstand you?

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2018-05-22 21:16:43 Re: COPY FROM WITH HEADER skips a tuple every 4 billion tuples
Previous Message Matthew Stickney 2018-05-22 20:56:40 Re: [PATCH] (Windows) psql echoes password when reading from pipe