Tom Lane writes:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > Btw., if I select the default COPY output, pg_dump seems to drop
> > non-printable characters like '\001'.
>
> You sure? They're there in my output. COPY doesn't turn them into
> escape sequences, if that's what you were expecting.
If I do
INSERT INTO test VALUES ('foo\001bar');
then pg_dump writes
COPY "test" FROM stdin;
foobar
\.
This is incorrect.
--
Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
- [HACKERS] pg_dump output Kovacs Zoltan
- Re: [HACKERS] pg_dump output Peter Eisentraut
- Re: [HACKERS] pg_dump output Kovacs Zoltan
- Re: [HACKERS] pg_dump output Tom Lane
- Re: [HACKERS] pg_dump output Peter Eisentraut
- Re: [HACKERS] pg_dump output Tom Lane
- Re: [HACKERS] pg_dump output Peter Eisentraut
- Re: [HACKERS] pg_dump output Kovacs Zoltan
- Re: [HACKERS] pg_dump output Philip Warner
- Re: [HACKERS] pg_dump output Philip Warner
- Re: [HACKERS] pg_dump output Kovacs Zoltan
- Re: [HACKERS] pg_dump output Philip Warner
- Re: [HACKERS] pg_dump output Kovacs Zoltan
