Allow libpgport to call memory allocation routines even though

Bruce Momjian <bruce@momjian.us>

Commit: 7ee3c351522694dc6f8f0d6578394bdf5dec0b59
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-08-08T06:44:36Z
Releases: 8.0.0
Allow libpgport to call memory allocation routines even though
CurrentMemoryContext is DLLIMPORT on Win32.  Work around that by
creating stubs in the backend for palloc/pstrdup.

Also fix pg_dumpall to do proper quoting on Win32.

Files

PathChange+/−
src/backend/utils/mmgr/mcxt.c modified +36 −1
src/bin/pg_dump/pg_dumpall.c modified +20 −2
src/include/port.h modified +2 −1
src/include/utils/palloc.h modified +6 −1
src/port/dirmod.c modified +8 −1