pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: ljwilson <ljwilson@digitalav.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Re: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive?
Date: Tue, 14 May 2013 01:26:21 +0900
Message-ID: <5191142D.10703@tpf.co.jp> (raw)
In-Reply-To: <1368454402233-5755243.post@n5.nabble.com>
References: <1368210448053-5755080.post@n5.nabble.com>
	<518DCF1B.8010702@tpf.co.jp>
	<1368454402233-5755243.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(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



view thread (6+ messages)  latest in thread

Message-ID: <5191142D.10703@tpf.co.jp>
Permalink:  ../5191142D.10703@tpf.co.jp/
Also on:    postgresql.org/message-id/5191142D.10703@tpf.co.jp

 · 

reply

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: inoue@tpf.co.jp, ljwilson@digitalav.com
  Subject: Re: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive?
  In-Reply-To: <5191142D.10703@tpf.co.jp>
  References: <1368210448053-5755080.post@n5.nabble.com> <518DCF1B.8010702@tpf.co.jp> <1368454402233-5755243.post@n5.nabble.com> <5191142D.10703@tpf.co.jp>

* 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