Re: problem with MyBackendId

Tom Lane <[email protected]> Tue, 02 Aug 2005 18:33:54 -0400
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
"Andreas 'ads' Scherbaum" <[email protected]> writes:
> i successfully installed PostgreSQL 8.0.3 and MingW on a windows xp box 
> and tried to compile a module of mine. Thats the error i got back:

> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__MyBackendId'

MyBackendId isn't DLLIMPORT'ed.  I believe you can hack around this by
doing

extern DLLIMPORT BackendId MyBackendId;

in your own code.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match