From: | "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1167: POSIX getpwuid_r 4arg vs 5arg issue |
Date: | 2004-06-15 18:13:36 |
Message-ID: | 20040615181336.300F7CF4877@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1167
Logged by: James Helm
Email address: jjhelm(at)att(dot)net
PostgreSQL version: 7.4
Operating system: Solaris 9 Sparc
Description: POSIX getpwuid_r 4arg vs 5arg issue
Details:
I just downloaded the 7.4.3 tarball with timestamp 6/15 00:02, and am still
having issues with threads on a freshly loaded Solaris 9 server. Looks like
maybe the latest Solaris 9 supports the 5 arg version of getpwuid_r? I'm
just going to build without thread safety since I don't really need it for
now, but I thought you'd want to know it was still not 100% fixed.
Thanks.
Jim
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations
-fPIC -I. -I../../../src/include -I/pbengine/postgres/include
-I/pbengine/openssl/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DFRONTEND
-DSYSCONFDIR='"/pbengine/postgres/etc"' -c -o thread.o thread.c
thread.c: In function `pqGetpwuid':
thread.c:119: error: too few arguments to function `getpwuid_r'
thread.c:119: warning: assignment makes pointer from integer without a cast
gmake[3]: *** [thread.o] Error 1
Here's my configure:
sh configure \
--prefix=/pbengine/postgres \
--with-includes=/pbengine/postgres/include \
--with-libs=/pbengine/postgres/lib \
--with-perl \
--with-openssl=/pbengine/openssl \
--enable-thread-safety
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-06-16 01:38:59 | Re: BUG #1167: POSIX getpwuid_r 4arg vs 5arg issue |
Previous Message | Tom Lane | 2004-06-15 13:29:00 | Re: BUG #1166: pg_relcheck don't exist |