8.3beta4: pg_dump tab escape change - Mailing list pgsql-bugs

From Tomas Szepe
Subject 8.3beta4: pg_dump tab escape change
Date
Msg-id 20071226171426.GA12667@louise.pinerecords.com
Whole thread Raw
Responses Re: 8.3beta4: pg_dump tab escape change  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hi,

for a very long time now, pg_dump has placed '\t' on output where a literal
tab was present in the data.

Since 8.3pre, this is no longer the case -- the backslash is followed
by an actual tab character, ('\009').

I'm not sure if this change was intentional, but I didn't see it mentioned
in the HISTORY file in 8.3pre4 and to me it feels like a bug, as it makes
writing regexp parsers for database dumps a lot more difficult (and one
needs lookahead assertion support in their regexp engine).

Is there any chance of seeing pg_dump reverted to the original behavior
in this respect?

Thanks,
--
Tomas Szepe <szepe@pinerecords.com>

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Server does not start when log_statement_stats is set to on
Next
From: Tom Lane
Date:
Subject: Re: 8.3beta4: pg_dump tab escape change