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

CSV patch applied

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: CSV patch applied
Date: 2004-04-19 17:26:52
Message-ID: 200404191726.i3JHQrs16216@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
I have applied the attached patch that complete TODO item:

        o -Allow dump/load of CSV format

This adds new keywords to COPY and \copy:

        CSV - enable CSV mode
        QUOTE - specify quote character
        ESCAPE - specify escape character
        FORCE - force quoting of specified columns
        LITERAL - prevent NULL checks for specific columns

If folks have better ideas for naming of those keywords, I am all ears!

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Responses

pgsql-hackers by date

Next:From: Jan WieckDate: 2004-04-19 17:39:14
Subject: Re: Why are these ARC variables per-backend?
Previous:From: Jan WieckDate: 2004-04-19 17:18:35
Subject: Re: signal 11 on AIX: 7.4.2

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-04-19 17:42:51
Subject: Re: win32 fixes
Previous:From: Andrew DunstanDate: 2004-04-19 15:57:27
Subject: minor readme patch for pg_autovacuum

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