Thread: pgsql-server/ /configure rc/Makefile.global.in ...
pgsql-server/ /configure rc/Makefile.global.in ...
From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: momjian@svr1.postgresql.org 04/02/01 20:11:31 Modified files: . : configure src : Makefile.global.in src/backend : Makefile src/backend/main: main.c src/backend/port: sysv_shmem.c src/backend/port/win32: shmem.c src/backend/utils/init: findbe.c src/bin/initdb : initdb.c src/include : port.h src/interfaces/libpq: Makefile pqsignal.c win32.c Added files: src/port : rand.c Log message: Briefly, * configure + Makefile changes * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent cygwin bug under cygwin/EXEC_BACKEND case only) * PATH env var separator differences * missing win32 rand functions added * placeholder replacements for sync etc under port.h To those who are really interested, and there are a few of you: the attached patch + file will allow the source base to be compiled (and, for some definition, "run") under MingW, with the following caveats (I wanted to first properly fix all but the last of these, but y'all won't quit asking for a patch :-): * child death: SIGCHLD not yet sent, so as a minimum, you'll need to put in some sort of delay after StartupDatabase, and handle setting StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed to do) * dirmod.c: comment out the elog calls * dfmgr.c: some hackage required to substitute_libpath_macro * slru/xact.c: comment out the errno checking after the readdir (fixed by next version of MingW) Again, this is only if you *really* want to see postgres compile and start, and is a nice leg-up for working on the other Win32 TODO list items. Just don't expect too much else from it at this point... Claudio Natoli
momjian@svr1.postgresql.org (Bruce Momjian) writes: > Modified files: > . : configure Wrong patch. regards, tom lane
Tom Lane wrote: > momjian@svr1.postgresql.org (Bruce Momjian) writes: > > Modified files: > > . : configure > > Wrong patch. Thanks. Fixed, autoconf run. I knew you commented before about the patch but forgot a new version wasn't posted. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073