Re: Custom C function - is palloc broken?

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Dan \"Heron\" Myers" <heron(at)xnapid(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom C function - is palloc broken?
Date: 2008-05-04 19:15:49
Message-ID: 20080504211549.2c249102@mha-laptop.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dan "Heron" Myers wrote:
> Craig Ringer wrote:
> > Can you send me a complete, compileable example that illustrates
> > the problem, along with instructions on how to reproduce it? If
> > possible, send a compiled binary and any dependencies too. I'm
> > curious to see if this is in fact shared library issues.
>
> I'll send you a .zip file separately with the actual code, but here
> are the steps I took:
>
> - Install Postgres 8.3.1
> - Install MinGW 5.1.4
> - Install the gettext snapshot from MinGW's downloads page under
> "snapshots"

This may be your problem. We have previously seen a lot of issues with
different versions of gettext on Windows. They do a lot of things
in ways that "you are not supposed to on Windows"...

Could you try a build without NLS?

> 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.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2008-05-04 21:53:27 Re: Custom C function - is palloc broken?
Previous Message Christophe 2008-05-04 19:07:39 Re: Unloading a table consistently