Search Postgresql Archives

Re: libpy and ENABLE_THREAD_SAFETY=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >>Is the standard libpq.dll distributed by PostgreSQL8.0 for windows 
> >>thread safe by default ?
> >>    
> >>
> >
> >No.
> >It is safe as long as you use each PGconn on a separate 
> thread but you 
> >cannot share the same PGconn between threads.
> >
> >//Magnus
> >
> >
> >  
> >
> But what if I compile the DLL using ENABLE_THREAD_SAFETY ?
> Can I then use one connection for multiple threads ?

In theory, but I beleive there are build issues in the currently
released version when it comes to building on win32 with
ENABLE_THREAD_SAFETY.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux