Re: writing backend extensions using Visual

Tom Lane <[email protected]> Sat, 26 Mar 2005 13:55:06 -0500
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Andrew Dunstan <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings