Обсуждение: Driver doesn't work without --enable-pthreads

Поиск
Список
Период
Сортировка

Driver doesn't work without --enable-pthreads

От
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/

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

От
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


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

От
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/

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

От
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