Re: Extending copy_expert - Mailing list psycopg

From Christophe Pettus
Subject Re: Extending copy_expert
Date
Msg-id 9CF5AE17-8CB4-4587-ACDB-71DCA864FBD5@thebuild.com
Whole thread Raw
In response to Re: Extending copy_expert  (Andrea Riciputi <andrea.riciputi@gmail.com>)
List psycopg
On Oct 13, 2014, at 1:49 PM, Andrea Riciputi <andrea.riciputi@gmail.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
interactswith PostgreSQL and does what you want.  Honestly, in the time it takes to negotiate the process of getting
thefeature you want into either PostgreSQL or psycopg2, you could have that utility working. :) 
--
-- Christophe Pettus
   xof@thebuild.com



psycopg by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Extending copy_expert
Next
From: "W. Matthew Wilson"
Date:
Subject: Can't register python class for domain?