Re: Installing postgresql on Windows question - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Installing postgresql on Windows question
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE1715D4@algol.sollentuna.se
Whole thread Raw
In response to Installing postgresql on Windows question  ("Wei Wang" <ww220@cam.ac.uk>)
List pgsql-hackers-win32
>Thanks a lot for your detailed reply. 2 more questions:
>
>How do I apply the patch? (I've got the SIGCHLD handling one and the
>readdir() one. )

Use the "patch" command. You will want something along the line of
patch -p1 < /where/ever/something.patch

(The number after the p will depend on where in the directory structure
you are, and how the patch looks)


Oh, and look out for the new readdir patch I just posted that is more
complete than the previous one. There is also a newer version of the
SIGCHLD patch (which actually does more than just SIGCHLD). I just
realised I forgot the patch when I posted that one, so it was also
posted to the list just a minute ago.


>For the initdb:ing problem (stat/inode issue), on the win32 status page
>there is a link "submitted" that's supposed to point
>to a patch by claudio? But it's actually pointing to
>http://momjian.postgresql.org/main/writings/pgsql/.

The page was probably updated before the file went into the archive. You
can find it at
http://archives.postgresql.org/pgsql-patches/2004-02/msg00088.php


>ps. So supposedly all 3 patched should be applied before "make", right?
Yup. If you have already done "make", do a "make clean" before you do a
new make.

//Magnus


pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql does not link with readline
Next
From: Daniel Gerardo Lucero Baylon
Date:
Subject: Problem with win 32 libpq calls