From: Adrian Klaver <adrian.klaver@gmail.com>
To: James Sharrett <jsharrett@tidemark.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: returning the number of rows output by a copy command from a function
Date: Wed, 16 Jan 2013 09:29:15 -0800
Message-ID: <50F6E36B.3090005@gmail.com> (raw)
In-Reply-To: <CD1C4CC8.6D2C%jsharrett@tidemark.net>
References: <CD1C4CC8.6D2C%jsharrett@tidemark.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.klaver@gmail.com
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@gmail.com, jsharrett@tidemark.net
Subject: Re: returning the number of rows output by a copy command from a function
In-Reply-To: <50F6E36B.3090005@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox