From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PG Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Add switches for DELIMITER and NULL in pg_dump COPY |
Date: | 2006-03-08 16:29:55 |
Message-ID: | 20060308162955.GL14881@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Wed, Mar 08, 2006 at 11:26:00AM -0500, Tom Lane wrote:
> David Fetter <david(at)fetter(dot)org> writes:
> > On Wed, Mar 08, 2006 at 11:03:00AM -0500, Tom Lane wrote:
> >> Did anyone provide a convincing use case for this?
>
> > I've had one so far, and it was enough to cause me to make a
> > special patched version of pg_dump. To get some idea of how
> > drastic that was, consider that I think it's generally bad
> > practice to compile from source because it can take you too far
> > off the "generally supported software" map. The case I had was
> > making a database with a schema and initial data whose dump output
> > gets checked into a source code management system.
>
> So? Don't tell me your SCMS can't handle tabs.
Not everybody's editor/mailer/whatever does this right, and it makes
things fragile. Another way to do this is to change the delimter to a
printable character like '|', but that raises hackles, too.
Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 415 235 3778
Remember to vote!
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2006-03-08 16:31:25 | Re: Running out of disk space during query |
Previous Message | Tom Lane | 2006-03-08 16:26:00 | Re: Add switches for DELIMITER and NULL in pg_dump COPY |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2006-03-08 17:03:07 | Re: Add switches for DELIMITER and NULL in pg_dump COPY |
Previous Message | Tom Lane | 2006-03-08 16:26:00 | Re: Add switches for DELIMITER and NULL in pg_dump COPY |