Re: [BUGS] bug in pg_dump - Mailing list pgsql-bugs

From Kilian Koepsell
Subject Re: [BUGS] bug in pg_dump
Date
Msg-id Pine.SGI.4.05.9907141551410.49784-100000@vali.aei-potsdam.mpg.de
Whole thread Raw
In response to Re: [BUGS] bug in pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] bug in pg_dump
List pgsql-bugs
> Kilian Koepsell <koepsell@aei-potsdam.mpg.de> writes:
> > If You have a database field containing
> >     Jos\'e
> > the command pgdump -D gives the value
> >     Jos''e
>
> I cannot reproduce this here --- I get Jos\\''e which is what the
> pg_dump code is supposed to do...
>

Oh, you are right. I checked it again and I also got Jos\\''e.
But I expected to get Jos\\\' (a quoted \ -> \\ and a quoted ' -> \').
Is '' an other possibility to quote the ' character?

regards,
  Kilian


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] bug in pg_dump
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] bug in pg_dump