Re: Extending copy_expert

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Andrea Riciputi <andrea(dot)riciputi(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Extending copy_expert
Date: 2014-10-13 22:56:16
Message-ID: 9CF5AE17-8CB4-4587-ACDB-71DCA864FBD5@thebuild.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: psycopg


On Oct 13, 2014, at 1:49 PM, Andrea Riciputi <andrea(dot)riciputi(at)gmail(dot)com> wrote:

> My point was not to get the result, which is trivial, but to get it efficiently.

Given the size of the dataset and the use case, it might very well make sense to write your own small C utility that interacts with PostgreSQL and does what you want. Honestly, in the time it takes to negotiate the process of getting the feature you want into either PostgreSQL or psycopg2, you could have that utility working. :)
--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Browse psycopg by date

  From Date Subject
Next Message W. Matthew Wilson 2015-01-23 15:16:09 Can't register python class for domain?
Previous Message Adrian Klaver 2014-10-13 22:52:34 Re: Extending copy_expert