copy_from and rowcount

From: Ryan Kelly <rpkelly22(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: copy_from and rowcount
Date: 2013-09-12 16:06:34
Message-ID: 20130912160634.GA17676@llserver.lakeliving.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

I'm wondering if it's possible to get the number of rows copied when
using copy_from? I would've thought the .rowcount attribute of the cursor
would have this value, but that doesn't seem to be the case.

-Ryan Kelly

Responses

Browse psycopg by date

  From Date Subject
Next Message Federico Di Gregorio 2013-09-20 14:04:19 Re: copy_from and rowcount
Previous Message Daniele Varrazzo 2013-08-27 07:50:15 Re: Connection pooling and with statement