On Fri, Mar 10, 2000 at 09:01:15AM +0100, Kardos, Dr. Andreas wrote:
> Of course, Digital Unix is more important than QNX. For now I can live with
> the solution to remove the escape backslashes from pg_dumpall.
> But we should keep this problem in mind. Unix portable shell programming is
> not a nice matter...

Can't you wrap things inside an if [ "`uname`" = "blah" ]; then ... fi ?

-- Nathaniel

> -----Ursprüngliche Nachricht-----
> Von: Peter Eisentraut <[EMAIL PROTECTED]>
> An: Kardos, Dr. Andreas <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Gesendet: Donnerstag, 9. März 2000 20:17
> Betreff: Re: [BUGS] pg_dumpall
> 
> 
> Kardos, Dr. Andreas writes:
> 
> > I have tested the pg_dumpall (with PATHNAME stuff) which Peter E. has
> mailed
> > to this list.
> >
> > It works fine on QNX4 but definitly not on Digital Unix.
> >
> > The version in CVS works in general, but not on QNX4. On QNX4 I have to
> > remove the escape backslashes.
> 
> Oh, that makes my other message to hackers seem stupid.
> 
> The tradeoff seems to be support QNX or support Digital Unix. QNX is in
> compliance with POSIX. All the code can't be easily rewritten to not use
> the construct in question at all. (Although the PATHNAME stuff can be
> yanked but then you need the right psql in your path.)
> 
> --
> Peter Eisentraut                  Sernanders väg 10:115
> [EMAIL PROTECTED]                   75262 Uppsala
> http://yi.org/peter-e/            Sweden
> 
> 
> 

Reply via email to