From: ljwilson <ljwilson@digitalav.com>
To: pgsql-odbc@postgresql.org
Subject: UseDeclareFetch=1, Fetch=100, UseServerSidePrepare=1 causes Windows client to intermittently hang
Date: Mon, 27 May 2013 15:38:27 -0700 (PDT)
Message-ID: <1369694307040-5757049.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
This weekend I tested at a client site the psqlODBC Windows drivers as of
2013/05/21 (what will eventually be 09.02.0100) from the github source. When
printing invoices, intermittently a client (I could reproduce on all three
of the test machines) would hang (freeze--must kill with taskmanager). The
client might have to print just one, or 13, or as high as 61 individual jobs
before the hang would occur. The fix is to set the UseServerSidePrepare back
to 0--then no hangs can be reproduced. Enabling mylog makes it much harder
to reproduce the hang, but I have been able to produce 4 mylog files using
my own test machine that log up to the hang.
Here is the end of one of the mylogs when the hang happened:
[2228-302.275][SQLFreeStmt][2228-302.275]PGAPI_FreeStmt:
entering...hstmt=01B3AA70, fOption=0
[2228-302.275]SC_recycle_statement: self= 01B3AA70
[2228-302.276]QResult: enter DESTRUCTOR
[2228-302.276]QResult: in QR_close_result
[2228-302.276]CC_cursor_count: self=00B7A6A0, num_stmts=64
[2228-302.276]CC_cursor_count: returning 13
[2228-302.276]CC_send_query: conn=00B7A6A0, query='close "SQL_CUR01B3AA70"'
[2228-302.277]in QR_Constructor
[2228-302.277]exit QR_Constructor
[2228-302.277]SOCK_get_id has to eat 1578 bytes
[2228-302.277]SC_set_Result(1c961c0, 1b68380)[2228-302.277]QResult: enter
DESTRUCTOR
[980-302.277]read 6, global_socket_buffersize=4096
[980-302.278]read -1, global_socket_buffersize=4096
[980-302.278]Lasterror=10035
Thanks...jack
--
View this message in context: http://postgresql.1045698.n5.nabble.com/UseDeclareFetch-1-Fetch-100-UseServerSidePrepare-1-causes-Wi...
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: ljwilson@digitalav.com
Subject: Re: UseDeclareFetch=1, Fetch=100, UseServerSidePrepare=1 causes Windows client to intermittently hang
In-Reply-To: <1369694307040-5757049.post@n5.nabble.com>
References: <1369694307040-5757049.post@n5.nabble.com>
* 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