Re: Roadmap for a Win32 port

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Roadmap for a Win32 port
Дата
Msg-id Pine.LNX.4.44.0206072008310.935-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Roadmap for a Win32 port  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Roadmap for a Win32 port  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Roadmap for a Win32 port  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Missing types in C header files
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: NO CREATE TABLE