- 26 2月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
* Changes incorrect CYGWIN defines to __CYGWIN__ * Some localtime returns NULL checks (when unchecked cause SEGVs under Win32 regression tests) * Rationalized CreateSharedMemoryAndSemaphores and AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it); requires attention. Claudio Natoli
-
- 09 2月, 2004 1 次提交
-
-
由 Neil Conway 提交于
Natoli and Bruce Momjian (and some cosmetic fixes from Neil Conway). Changes: - remove duplicate signal definitions from pqsignal.h - replace pqkill() with kill() and redefine kill() in Win32 - use ereport() in place of fprintf() in some error handling in pqsignal.c - export pg_queue_signal() and make use of it where necessary - add a console control handler for Ctrl-C and similar handling on Win32 - do WaitForSingleObjectEx() in CHECK_FOR_INTERRUPTS() on Win32; query cancelling should now work on Win32 - various other fixes and cleanups
-
- 02 2月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
* 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
-
- 27 1月, 2004 1 次提交
-
-
由 Bruce Momjian 提交于
against the latest shapshot. It also includes the replacement of kill() with pqkill() and sigsetmask() with pqsigsetmask(). Passes all tests fine on my linux machine once applied. Still doesn't link completely on Win32 - there are a few things still required. But much closer than before. At Bruce's request, I'm goint to write up a README file about the method of signals delivery chosen and why the others were rejected (basically a summary of the mailinglist discussions). I'll finish that up once/if the patch is accepted. Magnus Hagander
-
- 08 1月, 2004 1 次提交
-
-
由 Neil Conway 提交于
pointer type when it is not necessary to do so. For future reference, casting NULL to a pointer type is only necessary when (a) invoking a function AND either (b) the function has no prototype OR (c) the function is a varargs function.
-
- 02 12月, 2003 1 次提交
-
-
由 Tom Lane 提交于
on 64-bit Solaris. Use a non-system-dependent datatype for UsedShmemSegID, namely unsigned long (which we were already assuming could hold a shmem key anyway, cf RecordSharedMemoryInLockFile).
-
- 30 11月, 2003 1 次提交
-
-
由 PostgreSQL Daemon 提交于
$Header: -> $PostgreSQL Changes ...
-
- 08 11月, 2003 1 次提交
-
-
由 Tom Lane 提交于
they do not prevent the postmaster from deleting the shmem segment during a post-backend-crash restart cycle. Per recent discussion.
-
- 28 10月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 26 10月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 14 10月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 13 10月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
rather than allocating them on the stack. Fixes complaint from gcc 3.3.1.
-
- 12 10月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
when -fstrict-aliasing is turned on, as it is in the latest gcc when you use -O2 Andrew Dunstan
-
- 29 9月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 26 9月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 04 8月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 28 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
-
- 23 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
-
- 15 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
and 100 respectively, if the platform will allow it. initdb selects values that are not too large to allow the postmaster to start, and places these values in the installed postgresql.conf file. This allows us to continue to start up out-of-the-box on platforms with small SHMMAX, while having somewhat-realistic default settings on platforms with reasonable SHMMAX. Per recent pghackers discussion.
-
- 09 5月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 5月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Allow backends to attached to specified shared memory address.
-
- 07 5月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
fork/exec.
-
- 25 4月, 2003 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 26 3月, 2003 1 次提交
-
-
由 Peter Eisentraut 提交于
vague cross-references with real links.
-
- 05 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 02 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
because c.h has sys/types.h.
-
- 21 6月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 05 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
As proof of concept, provide an alternate implementation based on POSIX semaphores. Also push the SysV shared-memory implementation into a separate file so that it can be replaced conveniently.
-