From: | Brar Piening <brar(at)gmx(dot)de> |
---|---|
To: | thready <mike(at)gagnon(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Visual Studio 2010/Windows SDK 7.1 support |
Date: | 2011-10-23 19:29:56 |
Message-ID: | 4EA46B34.5030608@gmx.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
thready wrote:
[...]
> I don't know how to apply this patch. What's the exe that runs this
> patch? Will it ask me where the source folder root is when I run it?
As the archives seem to be unreachable at the moment I'm copying text
from the following message which I would otherwise ask you to read:
http://archives.postgresql.org/message-id/4E2813EC.2050505@gmx.de
<CITATION>
In short (for the records): download and install msysgit from
http://code.google.com/p/msysgit/downloads/list
Open git bash and cd into an empty directory like:
cd c:
mkdir pgdev
cd pgdev
Clone the postgresql repository:
git clone git://git.postgresql.org/git/postgresql.git
cd postgresql
Copy the patch (the part with the strange perl-like text of the
message) from
http://archives.postgresql.org/message-id/4E14FD1A.8080703@gmx.de and
save it to a file (like VS2010v9.patch) which you put into the directory
which contains your newly created repository (c:\pgdev).
Apply the Patch:
patch -Ec -p 1 -i ../VS2010v9.patch
(which doesn't seem to apply cleanly anymore which will break things for
you - but I currently have no time to fix it)
Put bison and flex into your path like:
echo "\$ENV{PATH}=\$ENV{PATH} . ';C:\Program Files (x86)\Git\bin';" >
src/tools/msvc/buildenv.pl
(you might have to adopt the path)
Open a Visual Studio 2010 command prompt and cd into the src/tools/msvc
directory of your repository like:
cd C:\pgdev\postgresql\src\tools\msvc
Start the build:
build.bat
</CITATION>
Please use the commitfest app
(https://commitfest.postgresql.org/action/patch_view?id=523) to find out
about the current state of the patch and to get the latest version.
If you have problems applying the patch when copied from the archives
(v10 -
http://archives.postgresql.org/message-id/4E837B20.4020502@gmx.de)
please drop me a line and I'll send you the latest version off list.
Regards,
Brar
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-10-23 19:33:19 | Re: termination of backend waiting for sync rep generates a junk log message |
Previous Message | Tom Lane | 2011-10-23 18:39:40 | Re: [PATCH] Deferrable unique constraints vs join removal -- bug? |