Thread: pgsql: The attached patch updates the thread test program to run
pgsql: The attached patch updates the thread test program to run
From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Log Message: ----------- The attached patch updates the thread test program to run stand-alone on Windows. The test itself is bypassed in configure as discussed, and libpq has been updated appropriately to allow it to build in thread-safe mode. Dave Page Modified Files: -------------- pgsql: configure (r1.449 -> r1.450) (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.449&r2=1.450) configure.in (r1.422 -> r1.423) (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.422&r2=1.423) pgsql/src/interfaces/libpq: Makefile (r1.136 -> r1.137) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/Makefile.diff?r1=1.136&r2=1.137) fe-connect.c (r1.319 -> r1.320) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.319&r2=1.320) fe-exec.c (r1.173 -> r1.174) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-exec.c.diff?r1=1.173&r2=1.174) fe-misc.c (r1.118 -> r1.119) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-misc.c.diff?r1=1.118&r2=1.119) fe-print.c (r1.62 -> r1.63) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-print.c.diff?r1=1.62&r2=1.63) fe-secure.c (r1.69 -> r1.70) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-secure.c.diff?r1=1.69&r2=1.70) libpq-int.h (r1.106 -> r1.107) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpq-int.h.diff?r1=1.106&r2=1.107) pthread-win32.c (r1.7 -> r1.8) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/pthread-win32.c.diff?r1=1.7&r2=1.8) pgsql/src/tools/thread: README (r1.6 -> r1.7) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/thread/README.diff?r1=1.6&r2=1.7) thread_test.c (r1.39 -> r1.40) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/thread/thread_test.c.diff?r1=1.39&r2=1.40)
momjian@svr1.postgresql.org (Bruce Momjian) writes: > The attached patch updates the thread test program to run stand-alone on > Windows. Uh, this patch appears to hit rather more files than its description would justify. regards, tom lane
Tom Lane wrote: > momjian@svr1.postgresql.org (Bruce Momjian) writes: > > The attached patch updates the thread test program to run stand-alone on > > Windows. > > Uh, this patch appears to hit rather more files than its description > would justify. It actually enabled Win32 libpq threading. I used just the email description, rather than a new one. I will update the release notes tomorrow before beta. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073