Hello,
I write Ctrl+C support for Win32 psql client. I create diff
againist CVS snapshoted today.
Comments are welcome
Luf
diff -cr pgsql.orig/src/bin/psql/common.c pgsql/src/bin/psql/common.c
*** pgsql.orig/src/bin/psql/common.cFri Jan 9 22:12:20 2004
--- pgsql/src/bin/psql/common.c Wed
You need to make all variable access (including libpq, I think) in the
handler threadsafe. The control handler will execute on a different
thread from the main one (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc
/base/handlerroutine.asp).
One way to do this could be t