Antw: Re: Some questions about the NetWare Port - please comment - Mailing list pgsql-hackers

From Ulrich Neumann
Subject Antw: Re: Some questions about the NetWare Port - please comment
Date
Msg-id sdc2d30d.024@mail.gne.de
Whole thread Raw
List pgsql-hackers
Tom,

I undestand that you think that it might be a nightmare. The idea
behind this idea is that NetWare doesn't use fork() to create a
process, it uses procle() or procve(). That's very similar to
NT's createProcess() or the combination of fork/exec.

Additional i've implemented a way that is based on threads. It's not
that this is a great advantage for PostgreSQL, but it's functional and
very useful on another system i'm working on for research.
However.

Back to your idea breaking down these files into smaller parts brings
the way Apache has done it with their platform specific files into my
mind.

Maybe it's good for the Windows port as well?

I will try the idea of breaking down these files and isolate only the
parts that rely on creating new processes.

What about the other, client specific parts? Do you think the way i'm
thinking of is OK?

Thanks for your suggestions.

Ulrich

>>> Tom Lane <tgl@sss.pgh.pa.us> 01.11.2002 18:36:23 >>>
"Ulrich Neumann" <U_Neumann@gne.de> writes:
> - 3 of the 8 mentioned sourcefiles are files that are heavily
changed
> for NetWare and I don't want to change the original files in this
> case. I think it's better to have a copy of these files in the
NetWare
> folder. This gives me the chance to use some special features of the
> NetWare platform without confusing people working on other
> platforms. These files are postmaster.c, pgstat.c and postgres.c.

Having port-specific copies of those files strikes me as a maintenance
nightmare.  They change constantly (at least postgres.c and
postmaster.c
do).

Why exactly do you need heavy changes in these files?

We could consider breaking down these files into smaller pieces in
order
to isolate platform dependencies, perhaps.
        regards, tom lane

---------------------------(end of
broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
---------------------------------- This e-mail is virus scanned Diese e-mail ist virusgeprueft



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some questions about the NetWare Port - please comment
Next
From: Rod Taylor
Date:
Subject: Re: 7.3B3 psql talking to a 7.2.3 server?