Skip site navigation (1) Skip section navigation (2)

Re: COPY enhancements

From: Hannu Krosing <hannu(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Emmanuel Cecchet <manu(at)asterdata(dot)com>, Emmanuel Cecchet <Emmanuel(dot)Cecchet(at)asterdata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY enhancements
Date: 2009-10-09 09:10:55
Message-ID: 1255079455.981.1.camel@hvost1700 (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, 2009-10-08 at 11:32 -0400, Robert Haas wrote:

> Another possible approach, which isn't perfect either, is the idea of
> allowing COPY to generate a single column of output of type text[].
> That greatly reduces the number of possible error cases, 

maybe make it bytea[] to further reduce error cases caused by charset
incompatibilities ?

> and at least
> gets the data into the DB where you can hack on it.  But it's still
> going to be painful for some use cases.
> 
> ...Robert

-- 
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability 
   Services, Consulting and Training



In response to

Responses

pgsql-hackers by date

Next:From: Greg SmithDate: 2009-10-09 11:11:59
Subject: Re: how to use eclipse when debugging postgreSQL backend
Previous:From: Simon RiggsDate: 2009-10-09 06:29:04
Subject: Re: COPY enhancements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group