Driver doesn't work without --enable-pthreads

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

Driver doesn't work without --enable-pthreads

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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 <inoue@tpf.co.jp>
Дата:
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 <peter_e@gmx.net>
Дата:
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 <inoue@tpf.co.jp>
Дата:
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


FAQ