MSVC

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: MSVC
Date: 2007-04-27 13:03:33
Message-ID: 4631F4A5.1050803@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Now that we seem to have MSVC building working tolerably well, I think
we need a bit of cleanup. In particular, I think the config setup needs
to be more like the arguments we pass to the standard configure script.
This shouldn't be hard, but I think it should be done before we go to
beta, if possible. I think the names should match up pretty much one for
one - this should make faking out pg_config easier.

Since this is a perl hash, we'll need to have some sort of mapping
convention. I suggest this:

. where the configure arg doesn't take a value, make the hash value
undef (e.g. '--enable-integer-datetimes' => undef )
. where the configure arg would occur with a single value, just set
that (e.g. '--prefix' => 'c:\\foo' )
. where the configure arg would occur with a multiple value, provide a
listref (e.g. '--with-libs' => [ 'c:\\bar', 'd:\\baz' ] )

Thoughts?

cheers

andrew

Responses

  • Re: MSVC at 2007-05-01 20:18:46 from Magnus Hagander

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-27 13:16:42 Re: Avoiding unnecessary reads in recovery
Previous Message Andrew Dunstan 2007-04-27 12:39:47 Re: Hi, I wanto joinin the developer group of postgresql