Re: SPI_processed is not set for COPY statement - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: SPI_processed is not set for COPY statement
Date
Msg-id 4E89C987.2030403@dunslane.net
Whole thread Raw
In response to SPI_processed is not set for COPY statement  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers

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


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: SPI_processed is not set for COPY statement
Next
From: Tom Lane
Date:
Subject: Re: Should we get rid of custom_variable_classes altogether?