Re: writing backend extensions using Visual - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: writing backend extensions using Visual
Date
Msg-id 14211.1111863306@sss.pgh.pa.us
Whole thread Raw
In response to Re: writing backend extensions using Visual  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: writing backend extensions using Visual  (Greg Landrum <greg.landrum@gmail.com>)
List pgsql-hackers-win32
Andrew Dunstan <andrew@dunslane.net> writes:
> Do we actually support building backend extensions with anything other
> than our standard build environment? I know we support building libpq
> using MSVC, but that is for client use. I'm not even mildly surprised
> that building a backend extension with MSVC breaks.

I'm not either, but given that he can get as far as building a library
that will load into the backend, it's surprising that it would fall down
on the small matter of passing function arguments.  It seems worth
trying to understand exactly what's happening there.

Greg, how sure are you about the diagnosis of "PG_ARGISNULL always
returns true" --- have you stepped through your code with a debugger?

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: writing backend extensions using Visual Studio
Next
From: Greg Landrum
Date:
Subject: Re: writing backend extensions using Visual