From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Roadmap for a Win32 port |
Date: | 2002-06-08 21:48:12 |
Message-ID: | 200206082148.g58LmCa13018@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > I know I have discouraged it because I think shell script language has a
> > good toolset for those applications. I have fixed all the spacing
> > issues.
>
> My point is that it is not, for the reasons that I listed. Handling
> spaces is a small part of one of the several problems, there are problems
> with newlines, tabs, commas, slashes, quotes -- everytime you call sed or
> read you lose one character.
>
> > What language where you thinking of using? C?
>
> Yes, that way we can share code (pg_dumpall<->pg_dump, initdb<->postgres),
> use the established internationalization facilities, and use libpq
> directly in create* and drop*.
>
> > 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 think the first two targets for C-ification would be pg_dumpall and
initdb. The others have SQL equivalents. Maybe pg_ctl too.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-06-08 22:01:10 | Re: Per tuple overhead, cmin, cmax, OID |
Previous Message | Roderick A. Anderson | 2002-06-08 17:25:16 | Re: Use of /etc/services? |