aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-08-28 18:49:01 +0000
committerBruce Momjian <bruce@momjian.us>2005-08-28 18:49:01 +0000
commit8046c1c7e6633b82c196886c69a63a6fe6dc0513 (patch)
tree8c37d664ab7fecf0c80cd64d20eff63ddfc1ad7e /src
parent7319ab9a594525085aa55ec87fae30fa9bd8984f (diff)
downloadpostgresql-8046c1c7e6633b82c196886c69a63a6fe6dc0513.tar.gz
postgresql-8046c1c7e6633b82c196886c69a63a6fe6dc0513.zip
Use GetCurrentThreadId, per Magnus.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/pthread-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c
index eb0862f1fa3..fd2481cd78c 100644
--- a/src/interfaces/libpq/pthread-win32.c
+++ b/src/interfaces/libpq/pthread-win32.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
* IDENTIFICATION
-* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.8 2005/08/23 21:02:03 momjian Exp $
+* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.9 2005/08/28 18:49:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,7 +17,7 @@
HANDLE
pthread_self()
{
- return GetCurrentThread();
+ return GetCurrentThreadId();
}
void