Re: Two weeks to feature freeze

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Earl <jason(dot)earl(at)simplot(dot)com>
Cc: "Dann Corbit" <DCorbit(at)connx(dot)com>, "The Hermit Hacker" <scrappy(at)postgresql(dot)org>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Two weeks to feature freeze
Date: 2003-06-21 03:32:34
Message-ID: 23447.1056166354@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jason Earl <jason(dot)earl(at)simplot(dot)com> writes:
> The fact of the matter is that the Win32 specific bits are the parts
> that are likely to break in the new port.

Actually, what scares me about this is the probability that the Win32
port will break other platforms. The changes look to be invasive enough
to create a nontrivial risk of that.

For comparison, look at the CVS history of the recent efforts to support
IPv6 connections. Those patches have broken both IPv4 and Unix-socket
connections at different times, and are still a source of ongoing build
problems on some platforms, plus who-knows-what problems yet to be found
on platforms that aren't used by the bleeding-edge-CVS folk. I predict
that the tweaks needed to support Windows' lack of a fork() primitive
will be far worse.

BTW, I would not approve of a response along the lines of "can't you
#ifdef to the point that there are no code changes in the Unix builds?"
No you can't, unless you want to end up with an unmaintainable mess
of #ifdef spaghetti. The thing that makes this hard is the tradeoff
between making the code readable and maintainable (which requires
sharing as much code as possible across platforms) vs isolating
platform-specific considerations. Programming at this level is not
a science but an art form, and it's very hard to get it right the first
time --- especially when none of us have access to all the platforms
that the code must ultimately work on.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-21 03:36:23 Re: Two weeks to feature freeze
Previous Message Joe Conway 2003-06-21 02:48:02 compile failure on cvs tip --with-krb5