summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorTom Lane2018-04-30 15:16:21 +0000
committerTom Lane2018-04-30 15:16:21 +0000
commit6ba0cc4bd3a6d738eddf7e8aa2ef7b46cdd9ce8f (patch)
tree697bdbd1984a055c0f4a13fbb2b683a4308ac6d8 /src/makefiles
parentc5e46c7c3b9333616de9946f8e63df1576a19800 (diff)
Dump full memory maps around failing Windows reattach code.
This morning's results from buildfarm member dory make it pretty clear that something is getting mapped into the just-freed space, but not what that something is. Replace my minimalistic probes with a full dump of the process address space and module space, based on Noah's work at <20170403065106.GA2624300%40tornado.leadboat.com> This is all (probably) to get reverted once we have fixed the problem, but for now we need information. Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/Makefile.win322
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32
index 7abbd01971a..678371d5f2a 100644
--- a/src/makefiles/Makefile.win32
+++ b/src/makefiles/Makefile.win32
@@ -1,5 +1,7 @@
# src/makefiles/Makefile.win32
+override CPPFLAGS+= -DPSAPI_VERSION=1
+
ifdef PGXS
BE_DLLLIBS= -L$(libdir) -lpostgres
override CPPFLAGS+= -I$(includedir_server)/port/win32