"Vladimir Barzionov" <snego(dot)barsik(at)gmail(dot)com> wrote:
> Same problem was already discussed for example here
> http://dbaspot.com/forums/postgresql/393683-re-general-custom-c-function-palloc-broken.html
>
> Looks like the simplest way for correcting the issue is declaring additional
> macro (something like PGMODULEEXPORT)
Sure, I agree it is a longstanding bug in PostgreSQL. Developers who use
MSVC (not mingw) always encounter the bug; machines in the buildfarm can
build Windows binaries just because they have non-standard equipments.
A patch attached. The name of "PGMODULEEXPORT" might be arguable.
Regards,
---
Takahiro Itagaki
NTT Open Source Software Center
In response to
Responses
pgsql-hackers by date
| Next: | From: Gokulakannan Somasundaram | Date: 2010-03-29 10:42:08 |
| Subject: Re: GSoC Query |
| Previous: | From: Peter Eisentraut | Date: 2010-03-29 09:22:48 |
| Subject: Re: Patch for 9.1: initdb -C option |
pgsql-bugs by date
| Next: | From: Stefan Kaltenbrunner | Date: 2010-03-29 11:16:11 |
| Subject: Re: Known Issues Page |
| Previous: | From: Tharakan, George (GE Healthcare) | Date: 2010-03-29 08:56:32 |
| Subject: Known Issues Page |