Thread: pgevent fixes

pgevent fixes

From
"Magnus Hagander"
Date:
Two fixes:

1) Make vcbuild actually build the pgevent dll.
2) Change the pgevent DLL file so it doens't specify ordinal for the
functions. You're not supposed to do that. You're actually supposed to
declare them as PRIVATE as well, but mingw doesn't support that. VC++
will throw a warning and not an error though, so we can live with it.

//Magnus


Attachment

Re: pgevent fixes

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Magnus Hagander wrote:
> Two fixes:
>
> 1) Make vcbuild actually build the pgevent dll.
> 2) Change the pgevent DLL file so it doens't specify ordinal for the
> functions. You're not supposed to do that. You're actually supposed to
> declare them as PRIVATE as well, but mingw doesn't support that. VC++
> will throw a warning and not an error though, so we can live with it.
>
> //Magnus
>

Content-Description: pgevent.diff

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +