Mark Kirkwood wrote:
> Andrew Dunstan wrote: > >> It fixes the build error on Windows - haven't tried because i don't have >> time, but I know it won't work on Cygwin, because WIN32 isn't (usually) >> defined on Cygwin - see previous almost endless discussions. >> > > Yes - I recall that discussion a while ago. > > This patch should sort the issue. > > One question, should I be using defined(__MINGW32__) as opposed to > defined(WIN32)? I figured I didn't as in this case it is not necessary > to distinguish between native and cygwin. > > You figured correctly. cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match