Connections and threading problems - Mailing list pgsql-odbc

From Stergios Zissakis
Subject Connections and threading problems
Date
Msg-id NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr
Whole thread Raw
Responses Re: Connections and threading problems  (Richard Huxton <dev@archonet.com>)
List pgsql-odbc
Hi there,

I have set up PGSQL 7.4 and unixODBC-2.2.8 on Solaris 8 (with the 113261-02
patch applied).
I'm using OTL 4 and a multi-threaded test program.
I encountered the following problems.
1) I cannot get more than 5 threads to connect to the databse at the same
time.
   See the attached cons.log
2) When my program runs (with 5 threads) the threads seem to be serialized
rather than compete with each other.
   See the attached threads.log

Please find attached the following files:
odbc.ini
odbcinst.ini
PGSQL config files
show_all.txt #the output of "show all" in psql
insert.cc  #my source

Thanks in advance.
Stergios




Attachment

pgsql-odbc by date:

Previous
From:
Date:
Subject: THANK YOU
Next
From: googleplex6000@yahoo.com (Joe)
Date:
Subject: SQLDriverConnect hangs when DB inaccessible