Re: returning the number of rows output by a copy command from a function

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: James Sharrett <jsharrett(at)tidemark(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: returning the number of rows output by a copy command from a function
Date: 2013-01-16 17:29:15
Message-ID: 50F6E36B.3090005@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 01/16/2013 09:26 AM, James Sharrett wrote:
> Integer
>

Well copy is returning a string, so try changing the type. You will have
to parse that string for the count.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Misa Simic 2013-01-16 17:33:09 returning the number of rows output by a copy command from a function
Previous Message James Sharrett 2013-01-16 17:26:05 Re: returning the number of rows output by a copy command from a function