Re: Custom C function - is palloc broken?

From: "Nathan Thatcher" <n8thatcher(at)gmail(dot)com>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Cc: "Magnus Hagander" <magnus(at)hagander(dot)net>, "Dan Heron Myers" <heron(at)xnapid(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Custom C function - is palloc broken?
Date: 2008-05-05 03:53:01
Message-ID: d9c17fb40805042053o17db19f2uba330e386afb4df4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

So what options does that leave all of us who need to compile and run
our custom C functions in Windows?

On Sun, May 4, 2008 at 4:47 PM, Craig Ringer
<craig(at)postnewspapers(dot)com(dot)au> wrote:
> Magnus Hagander wrote:
>
>
> > Dan "Heron" Myers wrote:
> >
>
>
> >
> > > I read somewhere on Postgres' website that the win32 binaries were
> > > built with MinGW - and in fact they must be, since MSVC++ does not
> > > have some of the unix headers needed to build Postgres.
> > >
> >
> > No, as of 8.3 they are build with MSVC.
> >
>
> In case it's of any help, I was able to build the test with VC++ 8 and
> confirmed that it does still crash at the palloc() call even when the exact
> same runtime is used by both the test DLL and by postgres.exe (according to
> depends.exe).
>
> Anyway, the birds are chirping and I have to work way too soon...
>
> --
> Craig Ringer
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2008-05-05 07:07:37 Re: Custom C function - is palloc broken?
Previous Message Tom Lane 2008-05-05 02:48:12 Re: Race condition with notifications