Re: BUG #5394: invalid declspec for PG_MODULE_MAGIC

From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: "Vladimir Barzionov" <snego(dot)barsik(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: BUG #5394: invalid declspec for PG_MODULE_MAGIC
Date: 2010-03-29 09:47:05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

"Vladimir Barzionov" <snego(dot)barsik(at)gmail(dot)com> wrote:

> Same problem was already discussed for example here
> 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.

Takahiro Itagaki
NTT Open Source Software Center

Attachment Content-Type Size
PGMODULEEXPORT.patch application/octet-stream 2.0 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Gokulakannan Somasundaram 2010-03-29 10:42:08 Re: GSoC Query
Previous Message Peter Eisentraut 2010-03-29 09:22:48 Re: Patch for 9.1: initdb -C option

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-03-29 11:16:11 Re: Known Issues Page
Previous Message Tharakan, George (GE Healthcare) 2010-03-29 08:56:32 Known Issues Page