aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/win32_shmem.c
Commit message (Collapse)AuthorAge
...
* pgindent run for 9.0Bruce Momjian2010-02-26
|
* Silence compiler warning about printf format for HANDLE.Itagaki Takahiro2010-01-04
|
* Update copyright for the year 2010.Bruce Momjian2010-01-02
|
* Support 64-bit shared memory when building on 64-bit Windows.Magnus Hagander2010-01-02
| | | | Tsutomu Yamada
* Reserve the shared memory region during backend startup on Windows, soMagnus Hagander2009-07-24
| | | | | | | | | | that memory allocated by starting third party DLLs doesn't end up conflicting with it. Hopefully this solves the long-time issue with "could not reattach to shared memory" errors on Win32. Patch from Tsutomu Yamada and me, based on idea from Trevor Talbot.
* 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian2009-06-11
| | | | provided by Andrew.
* Minor improvement: avoid assuming that GetLastError value cannot beTom Lane2009-05-05
| | | | affected by CloseHandle() or Sleep().
* Make the win32 shared memory code try 10 times instead of one ifMagnus Hagander2009-05-05
| | | | | | | it fails because the shared memory segment already exists. This means it can take up to 10 seconds before it reports the error if it *does* exist, but hopefully it will make the system capable of restarting even when the server is under high load.
* Call SetLastError(0) before calling the file mapping functionsMagnus Hagander2009-05-04
| | | | | | | to make sure that the error code is reset, as a precaution in case the API doesn't properly reset it on success. This could be necessary, since we check the error value even if the function doesn't fail for specific success cases.
* Update copyright for 2009.Bruce Momjian2009-01-01
|
* Revert previous patch to put the shared memory segment on win32Magnus Hagander2008-10-30
| | | | | | | | in the Global\ namespace, because it caused permission errors on a lot of platforms. We need to come up with something better for 8.4, but for now revert to the pre-8.3.4 behaviour.
* Fix a couple of bugs in win32 shmem name generation:Magnus Hagander2008-07-04
| | | | | * Don't cut off the prefix. With this fix, it's again readable. * Properly store it in the Global namespace as intended.
* Update copyrights in source tree to 2008.Bruce Momjian2008-01-01
|
* Add sentence-ending periods.Peter Eisentraut2007-11-08
|
* Fix compiler warnings in ereport messages on mingw.Magnus Hagander2007-03-28
| | | | ITAGAKI Takahiro
* Native shared memory implementation for win32.Magnus Hagander2007-03-21
Uses same underlying tech as before, but not the sysv emulation layer.