Re: ToDo: allow to get a number of processed rows by COPY statement

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ToDo: allow to get a number of processed rows by COPY statement
Date: 2012-09-19 12:32:03
Message-ID: 5059BB43.20008@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16.08.2012 14:43, Pavel Stehule wrote:
> Hello
>
> here is updated patch

The patch seems to be truncated, it ends with:

*** a/src/test/regress/input/copy.source
--- b/src/test/regress/input/copy.source
***************
*** 106,108 **** this is just a line full of junk that would error out
if parsed
--- 106,112 ----
\.

copy copytest3 to stdout csv header;
+
+ -- copy should to return processed rows
+ do $$
+

I believe the code changes are OK, but regression test changes are
missing. Can you resend the full patch, please?

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-09-19 14:30:36 Re: Invalid optimization of VOLATILE function in WHERE clause?
Previous Message Heikki Linnakangas 2012-09-19 12:20:10 Re: Reduce palloc's in numeric operations.