Re: Call for 7.5 feature completion

Lists: pgsql-hackers
From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "William ZHANG" <uniware(at)zedware(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for 7.5 feature completion
Date: 2005-08-31 13:36:11
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9DA2@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of William ZHANG
> Sent: 31 August 2005 10:51
> To: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Call for 7.5 feature completion
>
> * Faster bulk load

Done, iirc.

> * Compile with MSVC on Win32 platforms. MySQL support it.

So what? It would take a major amount of work, with no useful benefits.

> * Thread safety libpq, ecpg.

Done.

Regards, Dave.


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: William ZHANG <uniware(at)zedware(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Call for 7.5 feature completion
Date: 2005-08-31 14:24:33
Message-ID: 4315BDA1.7050709@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Page wrote:

>
>
>>* Compile with MSVC on Win32 platforms. MySQL support it.
>>
>>
>
>So what? It would take a major amount of work, with no useful benefits.
>
>
>

... and you can compile all the client and library stuff with MSVC -
just not the server nor extensions. But the audience for compiling those
is far smaller.

cheers

andrew


From: "William ZHANG" <uniware(at)zedware(dot)org>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for 7.5 feature completion
Date: 2005-09-01 01:17:38
Message-ID: 003b01c5ae93$28b2d000$1504a8c0@raymond
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


----- Original Message -----
From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "William ZHANG" <uniware(at)zedware(dot)org>; <pgsql-hackers(at)postgresql(dot)org>
Sent: Wednesday, August 31, 2005 10:24 PM
Subject: Re: [HACKERS] Call for 7.5 feature completion

> Dave Page wrote:
> >
> >>* Compile with MSVC on Win32 platforms. MySQL support it.
> >>
> >So what? It would take a major amount of work, with no useful benefits.
>
> ... and you can compile all the client and library stuff with MSVC -
> just not the server nor extensions. But the audience for compiling those
> is far smaller.

I think the most popular method to build a project on Win32 is using
MSVC or Intel C. Intel C can be integrated with MSVC's IDE to help
developers increase their productivity. Actually I have tried to make
the backend of pgsql-8.0.3 build with MSVC 6.0, and it works well.
Should I polish it and send it as a patch?

Having been a Win32 developer for several years, I think it is more
convenient to use MSVC's IDE than CL.exe with NMAKE.exe.
Although I do not like Microsoft very much, and like to use MinGW
or Cygwin to do some small tests, MSVC is more suitable for
native Win32 development. If pgsql want to be the first class citizen
on Windows, and want to compete with MySQL, I think supporting
MSVC is important. I beleive there will be many contributions from
the Win32 world.


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: William ZHANG <uniware(at)zedware(dot)org>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Call for 7.5 feature completion
Date: 2005-09-01 02:30:31
Message-ID: 431667C7.2020300@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

William ZHANG wrote:

>----- Original Message -----
>From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
>To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
>Cc: "William ZHANG" <uniware(at)zedware(dot)org>; <pgsql-hackers(at)postgresql(dot)org>
>Sent: Wednesday, August 31, 2005 10:24 PM
>Subject: Re: [HACKERS] Call for 7.5 feature completion
>
>
>
>
>>Dave Page wrote:
>>
>>
>>>>* Compile with MSVC on Win32 platforms. MySQL support it.
>>>>
>>>>
>>>>
>>>So what? It would take a major amount of work, with no useful benefits.
>>>
>>>
>>... and you can compile all the client and library stuff with MSVC -
>>just not the server nor extensions. But the audience for compiling those
>>is far smaller.
>>
>>
>
>I think the most popular method to build a project on Win32 is using
>MSVC or Intel C. Intel C can be integrated with MSVC's IDE to help
>developers increase their productivity. Actually I have tried to make
>the backend of pgsql-8.0.3 build with MSVC 6.0, and it works well.
>Should I polish it and send it as a patch?
>
>Having been a Win32 developer for several years, I think it is more
>convenient to use MSVC's IDE than CL.exe with NMAKE.exe.
>Although I do not like Microsoft very much, and like to use MinGW
>or Cygwin to do some small tests, MSVC is more suitable for
>native Win32 development. If pgsql want to be the first class citizen
>on Windows, and want to compete with MySQL, I think supporting
>MSVC is important. I beleive there will be many contributions from
>the Win32 world.
>
>
>

You are missing the point. We are not prepared to support two completely
different build systems. Our build system is very very heavily dependent
on gmake. So if you want to change the build system you have to come up
with something that works everywhere. COming up with a project file or
an nmake file for Windows is not hard. Keeping them in step with
everything else is very hard.

We currently have nmake files for the client libraries, but project
files might be good to have too, and I don't think we have those. Why
not start a pgfoundry project to publish some MSVC project files, at
least for the client libs?

cheers

andrew


From: Steve Atkins <steve(at)blighty(dot)com>
To:
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Call for 7.5 feature completion
Date: 2005-09-01 16:59:55
Message-ID: 20050901165955.GA31304@gp.word-to-the-wise.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, Sep 01, 2005 at 09:17:38AM +0800, William ZHANG wrote:
> > Dave Page wrote:
> > >
> > >>* Compile with MSVC on Win32 platforms. MySQL support it.
> > >>
> > >So what? It would take a major amount of work, with no useful benefits.
> >
> > ... and you can compile all the client and library stuff with MSVC -
> > just not the server nor extensions. But the audience for compiling those
> > is far smaller.
>
> I think the most popular method to build a project on Win32 is using
> MSVC or Intel C. Intel C can be integrated with MSVC's IDE to help
> developers increase their productivity. Actually I have tried to make
> the backend of pgsql-8.0.3 build with MSVC 6.0, and it works well.
> Should I polish it and send it as a patch?
>
> Having been a Win32 developer for several years, I think it is more
> convenient to use MSVC's IDE than CL.exe with NMAKE.exe.
> Although I do not like Microsoft very much, and like to use MinGW
> or Cygwin to do some small tests, MSVC is more suitable for
> native Win32 development. If pgsql want to be the first class citizen
> on Windows, and want to compete with MySQL, I think supporting
> MSVC is important. I beleive there will be many contributions from
> the Win32 world.

I think supporting MSVC is important, certainly (though I think that
supporting the Intel compiler is even better, as the only compelling
reason, IMO, to switch for the server end is generated code
quality). But that's very different from supporting visual studio.

I've been doing cross-platform development on a big codebase for
years, and the idea of trying to use the proprietary build
environments on each platform, and expecting to keep them sufficiently
in-sync that the end result is actually comparable on each platform is
laughable. And that's on a much smaller, simpler codebase than PG with
a much smaller, more integrated development team.

I use gmake or cons everywhere. On Windows I run them under cygwin and
have them call the MSVC commandline compiler. It all works fine. And
it doesn't stop me from using Visual Studio to edit the code, run the
debugger or anything like that. On OS X I can use XCode. On Solaris I
use the Forte environment. On Linux I use emacs and gcc. And that's
all on the same codebase with the same makefile checked out from the
same CVS repository.

Cheers,
Steve