Driver doesn"t work without --enable-pthreads
am 30.10.2006 20:19:22 von Peter Eisentraut
The driver in CVS head doesn't work unless --enable-pthreads is given.
The macro INIT_CONNLOCK isn't defined but is still referenced in the
code so you get an undefined symbol error.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
Re: Driver doesn"t work without --enable-pthreads
am 31.10.2006 13:27:05 von Hiroshi Inoue
Peter Eisentraut wrote:
> The driver in CVS head doesn't work unless --enable-pthreads is given.
> The macro INIT_CONNLOCK isn't defined but is still referenced in the
> code so you get an undefined symbol error.
Don't you #define HAVE_ECO_THREAD_LOCKS ?
If so I've just fixed the bug(typo).
regrads,
Hiroshi Inoue
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate
Re: Driver doesn"t work without --enable-pthreads
am 03.11.2006 08:30:54 von Peter Eisentraut
Hiroshi Inoue wrote:
> Peter Eisentraut wrote:
> > The driver in CVS head doesn't work unless --enable-pthreads is
> > given. The macro INIT_CONNLOCK isn't defined but is still
> > referenced in the code so you get an undefined symbol error.
>
> Don't you #define HAVE_ECO_THREAD_LOCKS ?
> If so I've just fixed the bug(typo).
Now it's missing CONNLOCK_ACQUIRE.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
Re: Driver doesn"t work without --enable-pthreads
am 03.11.2006 22:33:28 von Hiroshi Inoue
Peter Eisentraut wrote:
> Hiroshi Inoue wrote:
>
>> Peter Eisentraut wrote:
>>
>>> The driver in CVS head doesn't work unless --enable-pthreads is
>>> given. The macro INIT_CONNLOCK isn't defined but is still
>>> referenced in the code so you get an undefined symbol error.
>>>
>> Don't you #define HAVE_ECO_THREAD_LOCKS ?
>> If so I've just fixed the bug(typo).
>>
>
> Now it's missing CONNLOCK_ACQUIRE.
Oops my oversight, sorry.
Added CONNLOCK_ACQUIRE and CONNLOCK_RELEASE.
Thanks.
regards,
Hiroshi Inoue
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org