Thread: Driver doesn't work without --enable-pthreads

Driver doesn't work without --enable-pthreads

From
Peter Eisentraut
Date:
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/

Re: Driver doesn't work without --enable-pthreads

From
Hiroshi Inoue
Date:
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


Re: Driver doesn't work without --enable-pthreads

From
Peter Eisentraut
Date:
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/

Re: Driver doesn't work without --enable-pthreads

From
Hiroshi Inoue
Date:
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