Re: ToDo: allow to get a number of processed rows by COPY statement - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: ToDo: allow to get a number of processed rows by COPY statement
Date
Msg-id 5059BB43.20008@vmware.com
Whole thread Raw
In response to Re: ToDo: allow to get a number of processed rows by COPY statement  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Reduce palloc's in numeric operations.
Next
From: Tom Lane
Date:
Subject: Re: Invalid optimization of VOLATILE function in WHERE clause?