Thread

  1. Re: [BUGS] bug in pg_dump

    Tom Lane <tgl@sss.pgh.pa.us> — 1999-07-14T13:47:59Z

    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...
    
    Are you perchance using a multibyte encoding, and if so which one?
    
    			regards, tom lane
    
    
  2. Re: [BUGS] bug in pg_dump

    Kilian Koepsell <koepsell@aei-potsdam.mpg.de> — 1999-07-14T13:59:34Z

    > 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