> Hmm, crash inside getenv?? That's weird, that suggests something has > clobbered the environment-strings data structure. > > [ pokes around in code... ] And behold, here's a smoking gun: > pg_GSS_recvauth() is doing a putenv() with a string that it got from > palloc(). The active context at this point is PostmasterContext, > which *is* going to go away soon, leaving a gaping hole in the environ > list. > > I still couldn't reproduce a crash with that knowledge, but I bet that > if you apply the attached patch, things will get better.
The patch worked like a charm. Thanks, Tom. Peter ---------------------------(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