Обсуждение: SPI_processed is not set for COPY statement

Поиск
Список
Период
Сортировка

SPI_processed is not set for COPY statement

От
Pavel Stehule
Дата:
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


Re: SPI_processed is not set for COPY statement

От
Andrew Dunstan
Дата:

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