Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uas2a-0001m4-Ci for pgsql-odbc@arkaria.postgresql.org; Fri, 10 May 2013 18:27:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Uas2Z-00021W-TA for pgsql-odbc@arkaria.postgresql.org; Fri, 10 May 2013 18:27:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uas2Z-00021R-Eh for pgsql-odbc@postgresql.org; Fri, 10 May 2013 18:27:35 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uas2V-0003gQ-0o for pgsql-odbc@postgresql.org; Fri, 10 May 2013 18:27:34 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Uas2S-0001iz-21 for pgsql-odbc@postgresql.org; Fri, 10 May 2013 11:27:28 -0700 Date: Fri, 10 May 2013 11:27:28 -0700 (PDT) From: ljwilson To: pgsql-odbc@postgresql.org Message-ID: <1368210448053-5755080.post@n5.nabble.com> Subject: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org I've seen conflicting information on this: http://postgresql.1045698.n5.nabble.com/Improve-ODBC-Throughput-tp2189601p2189614.html What I see with the latest source tree in my test environment of two windows workstations, each using the latest compiled odbc drivers (09.01.02??) to connect to PostgreSQL 9.2.4 (Windows): 1. With UserDeclareFetch=1 and UseServerSidePrepare=0, works as it always has for me. 2. With UserDeclareFetch=0 and UseServerSidePrepare=1, works as it always has for me. 3. With UserDeclareFetch=1 and UseServerSidePrepare=1, the first workstation that opens the database "wins". Then the second workstation cannot open the database on its own connection until the first workstation exits its program. If I use pgadmin3 to monitor a table--if a workstation with UserDeclareFetch=1 and UseServerSidePrepare=1 enters data into the table, pgadmin3 will not show the new data until the workstation exits. It's like the workstation has an exclusive lock on the table when UserDeclareFetch=1 and UseServerSidePrepare=1. I'm not questioning the behavior, but I'd like to understand it and maybe get it documented so a user doesn't accidentally set up the switches such that it takes a while to figure out what is going on. Thanks...jack -- View this message in context: http://postgresql.1045698.n5.nabble.com/Are-UseDeclareFetch-and-UseServerSidePrepare-mutually-exclusive-tp5755080.html 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