Re: [BUGS] pg_dumpall - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: [BUGS] pg_dumpall
Date
Msg-id Pine.LNX.4.21.0003081352440.387-100000@localhost.localdomain
Whole thread Raw
In response to Re: [BUGS] pg_dumpall  ("Kardos, Dr. Andreas" <kardos@repas-aeg.de>)
List pgsql-bugs
Kardos, Dr. Andreas writes:

> 2. FOO="`echo "$BAR"`"
>
> This construct I have found working on QNX4, Digital Unix, SunOS and Linux.
> But the problem seems not to be so simple. After removing the backslashes
> from the old pg_dumpall it didn't work any more on Digital Unix! So the
> escaped double quotes make sense somewhere in some context.

I'm inclined to say that it should work but probably doesn't everywhere.
But I need to fix this because all the scripts currently contain ``
sequences that need to be double-quoted because otherwise they will fail
if the installation path contains whitespace. (See those ${PATHNAME}
things.)

For now I might have to resort to yanking that PATHNAME logic again and
use the new pg_dumpall since it appears to magically work.


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] pg_dumpall
Next
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] grant/revoke bug with delete/update