Skip site navigation (1) Skip section navigation (2)

Re: writing backend extensions using Visual

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Greg Landrum <greg(dot)landrum(at)gmail(dot)com>,pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: writing backend extensions using Visual
Date: 2005-03-26 18:55:06
Message-ID: 14211.1111863306@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

pgsql-hackers-win32 by date

Next:From: Greg LandrumDate: 2005-03-26 19:18:04
Subject: Re: writing backend extensions using Visual
Previous:From: Bruce MomjianDate: 2005-03-26 17:40:09
Subject: Re: writing backend extensions using Visual Studio

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group