Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ub1pt-0000AE-Es for pgsql-odbc@arkaria.postgresql.org; Sat, 11 May 2013 04:55:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ub1ps-0007vm-To for pgsql-odbc@arkaria.postgresql.org; Sat, 11 May 2013 04:55:08 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ub1ps-0007vL-2U for pgsql-odbc@postgresql.org; Sat, 11 May 2013 04:55:08 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ub1pk-0005TZ-Ha for pgsql-odbc@postgresql.org; Sat, 11 May 2013 04:55:07 +0000 Received: (qmail 32224 invoked by uid 512); 11 May 2013 04:54:57 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 11 May 2013 04:54:57 -0000 Received: from unknown (HELO ?192.168.1.3?) (110.5.25.94) by sd.tpf.co.jp with SMTP; 11 May 2013 04:54:57 -0000 Message-ID: <518DCF1B.8010702@tpf.co.jp> Date: Sat, 11 May 2013 13:54:51 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: ljwilson CC: pgsql-odbc@postgresql.org Subject: Re: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive? References: <1368210448053-5755080.post@n5.nabble.com> In-Reply-To: <1368210448053-5755080.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.1 (--) 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 Hi Jack, (2013/05/11 3:27), ljwilson wrote: > 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. It seems very strange to me. Do the workstations issue DDL commands or vacuum commands? regards, Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc