SPI_processed is not set for COPY statement

Started by Pavel Stehuleover 14 years ago2 messages
#1Pavel Stehule
pavel.stehule@gmail.com

Hello

is there some possibility to get a processed rows from COPY statement
from PL/pgSQL?

I searched any ways, but there are no command tag.

Regards

Pavel Stehule

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Pavel Stehule (#1)
Re: SPI_processed is not set for COPY statement

On 10/03/2011 10:34 AM, Pavel Stehule wrote:

Hello

is there some possibility to get a processed rows from COPY statement
from PL/pgSQL?

I searched any ways, but there are no command tag.

You mean something like a RETURNING clause?

My worry would be about possible speed effects, although that would
probably be slight when it's not used.

cheers

andrew