postgresql/src/port
Bruce Momjian e5e5a323ca 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
2004-02-02 00:11:31 +00:00
..
copydir.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
crypt.c pgindent run. 2003-08-04 00:43:34 +00:00
dirmod.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
fseeko.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
getaddrinfo.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
gethostname.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
getopt_long.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
getopt.c pgindent run. 2003-08-04 00:43:34 +00:00
getrusage.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
gettimeofday.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
inet_aton.c make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
isinf.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
memcmp.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
path.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
pipe.c Add WIN32 pipe implementation that uses sockets. 2004-01-09 04:58:09 +00:00
qsort.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
rand.c Briefly, 2004-02-02 00:11:31 +00:00
random.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
rint.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
snprintf.c Throw compile error if our non-thread-safe snprintf is used. 2004-01-08 17:15:54 +00:00
sprompt.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
srandom.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
strcasecmp.c make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
strdup.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
strerror.c make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
strtol.c Update /port C header descriptions. 2003-11-11 23:52:45 +00:00
strtoul.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
thread.c make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00