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: Are UseDeclareFetch and UseServerSidePrepare mutually exclusive?
Date: Sat, 11 May 2013 13:54:51 +0900
Message-ID: <518DCF1B.8010702@tpf.co.jp> (raw)
In-Reply-To: <1368210448053-5755080.post@n5.nabble.com>
References: <1368210448053-5755080.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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
> <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



view thread (6+ messages)  latest in thread

Message-ID: <518DCF1B.8010702@tpf.co.jp>
Permalink:  ../518DCF1B.8010702@tpf.co.jp/
Also on:    postgresql.org/message-id/518DCF1B.8010702@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: <518DCF1B.8010702@tpf.co.jp>
  References: <1368210448053-5755080.post@n5.nabble.com> <518DCF1B.8010702@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