Re: generic copy options

From: Emmanuel Cecchet <manu(at)asterdata(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Emmanuel Cecchet <manu(at)asterdata(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Josh Berkus" <josh(at)agliodbs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: generic copy options
Date: 2009-09-16 22:43:39
Message-ID: 4AB16A1B.7060102@asterdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert,

Here is a new version of the patch with an updated doc and psql.
I changed the name of the CSV options to prefix them with csv_ to avoid
confusion with any future options. I also had to change the grammar to
allow '*' as a parameter (needed for cvs_force_quote).

When we decide to drop the old syntax (in 8.6?), we will be able to
clean a lot especially in psql.

Emmanuel

> On Mon, Sep 14, 2009 at 2:51 PM, Emmanuel Cecchet <manu(at)asterdata(dot)com> wrote:
>
>> This looks good. Shoud I try to elaborate on that for the patch with error
>> logging and autopartitioning in COPY?
>>
>
> That make sense to me. You shouldn't need to do anything else in
> gram.y; whatever you want to add should just involve changing copy.c.
> If not, please post the details.
>
> We also need to fix the psql end of this, and the docs... any
> interest in taking a crack at either of those?
>
> ...Robert
>
>

--
Emmanuel Cecchet
Aster Data Systems
Web: http://www.asterdata.com

Attachment Content-Type Size
copy-newsyntax-patch-8.5v2.txt text/plain 51.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-09-16 23:31:40 Re: Feedback on getting rid of VACUUM FULL
Previous Message Jaime Casanova 2009-09-16 22:06:31 Re: Feedback on getting rid of VACUUM FULL