8.3beta4: pg_dump tab escape change

Поиск
Список
Период
Сортировка
От Tomas Szepe
Тема 8.3beta4: pg_dump tab escape change
Дата
Msg-id 20071226171426.GA12667@louise.pinerecords.com
обсуждение исходный текст
Ответы Re: 8.3beta4: pg_dump tab escape change  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Server does not start when log_statement_stats is set to on
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.3beta4: pg_dump tab escape change