From: Stergios Zissakis <szis@intranet.gr>
To: pgsql-odbc@postgresql.org
Cc: Kostas Lykiardopoulos <klyk@intranet.gr>
Cc: Dimitris Pantermalis <dpant@intranet.gr>
Subject: Connections and threading problems
Date: Thu, 4 Mar 2004 14:39:05 +0200
Message-ID: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr> (raw)
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
Attachments:
files.tar.gz (application/octet-stream, 7.1K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: szis@intranet.gr, klyk@intranet.gr, dpant@intranet.gr
Subject: Re: Connections and threading problems
In-Reply-To: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr>
References: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox