Unix Technical Forum

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

This is a discussion on Re: Driver doesn't work without --enable-pthreads within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Hiroshi Inoue wrote: > Peter Eisentraut wrote: > > The driver in CVS head doesn't work unless --enable-pthreads is ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:11 AM
Peter Eisentraut
 
Posts: n/a
Default Re: Driver doesn't work without --enable-pthreads

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 02:11 AM
Hiroshi Inoue
 
Posts: n/a
Default Re: Driver doesn't work without --enable-pthreads

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com