Jason,
> > Sorry , I have a mistake.
> I'm not sure that I understand your above comment. Does it mean that your
> patch has a mistake in it?
Oh, my mistake is that attached patch can'tfix this problem. It fixes
some problem on PostgreSQL , but can't fix it.
> I can reproduce the problem with the above program too but I have to call
> PQsetdb() four times (instead of two) to reproduce the problem. Anyway,
> your method to reproduce the problem is much more minimal than mine.
My other enveroment ,NT4 box with cygwin 1.1.7 , I can't reproduce this.
---
Yutaka tanida<yutaka(at)hi-net(dot)zaq(dot)ne(dot)jp>