Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ubva2-0000vx-MC for pgsql-odbc@arkaria.postgresql.org; Mon, 13 May 2013 16:26:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ubva1-0001iB-KF for pgsql-odbc@arkaria.postgresql.org; Mon, 13 May 2013 16:26:29 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ubva0-0001i5-QA for pgsql-odbc@postgresql.org; Mon, 13 May 2013 16:26:28 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UbvZx-0002Ld-V5 for pgsql-odbc@postgresql.org; Mon, 13 May 2013 16:26:28 +0000 Received: (qmail 11892 invoked by uid 512); 13 May 2013 16:26:23 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 13 May 2013 16:26:23 -0000 Received: from unknown (HELO ?192.168.1.3?) (110.5.25.94) by sd.tpf.co.jp with SMTP; 13 May 2013 16:26:23 -0000 Message-ID: <5191142D.10703@tpf.co.jp> Date: Tue, 14 May 2013 01:26:21 +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: Re: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive? References: <1368210448053-5755080.post@n5.nabble.com> <518DCF1B.8010702@tpf.co.jp> <1368454402233-5755243.post@n5.nabble.com> In-Reply-To: <1368454402233-5755243.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.6 (/) 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 (2013/05/13 23:13), ljwilson wrote: > No, just standard select/update statements. I set log_statement = 'ddl' in > postgresql.conf and did a reload just to make sure no ddl commands were > being executed. > > Here is a list of the unique sql statements (first few words only) for a > test session (extracted with log_statement = 'all'): > > BEGIN;declare "SQL_CUR05628E20" cursor for SELECT > COMMIT > INSERT INTO > RELEASE _EXEC_SVP_056292B0 > SAVEPOINT _EXEC_SVP_056292B0 > SELECT > UPDATE > close "SQL_CUR05628E20";commit > declare "SQL_CUR05628E20" cursor with hold for SELECT COUNT(*) FROM > delete from OK you wrote > 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. ISTM the second workstation is waiting for the return of a query when the database is blocked to be opened. Could you check it? 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