From: | "Ulrich Neumann" <U_Neumann(at)gne(dot)de> |
---|---|
To: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Antw: Re: Some questions about the NetWare Port - please comment |
Date: | 2002-11-01 18:15:58 |
Message-ID: | sdc2d30d.024@mail.gne.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sss(dot)pgh(dot)pa(dot)us> 01.11.2002 18:36:23 >>>
"Ulrich Neumann" <U_Neumann(at)gne(dot)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(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly
----------------------------------
This e-mail is virus scanned
Diese e-mail ist virusgeprueft
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2002-11-01 18:25:00 | Re: 7.3B3 psql talking to a 7.2.3 server? |
Previous Message | am | 2002-11-01 18:14:33 | Re: Cursors: getting the number of tuples; moving backwards |