Re: Roadmap for a Win32 port - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Roadmap for a Win32 port
Date
Msg-id 200206081557.g58Fv7B12506@candle.pha.pa.us
Whole thread Raw
In response to Re: Roadmap for a Win32 port  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Roadmap for a Win32 port  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> >> Also, it seems Win32 doesn't need these scripts, except initdb.
> 
> > The utility of these programs is independent of the platform.  If we think
> > pg_dumpall is not useful, then let's remove it.
> 
> I have been seriously considering converting pg_dumpall to C anyway,
> because it's already *very* messy, and I don't see any reasonable
> way to make it support dumping per-database and per-user config
> settings.  (Do you really want to try to parse array values in a
> shell script?)
> 
> (I'd actually consider making pg_dumpall a part of the pg_dump
> executable; then it could invoke pg_dump as a subroutine call...)
> 
> If Peter's got the time/energy to convert 'em all, I'm for it.

Yea, shame it will now take 15 lines of C code to do what we could do in
1 line of shell script but I don't see any other option.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question whether this is a known problem in 7.1.2
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Schemas: status report, call for developers