From: erne_dev @ Bellsouth.net <erne_dev@bellsouth.net>
To: pgsql-odbc@postgresql.org
Subject: Queries run twice
Date: Thu, 10 Mar 2005 19:08:26 -0500
Message-ID: <FIEALGGOPOGCKJEBMHJIIEGNCHAA.erne_dev@bellsouth.net> (raw)
Running version 8.0 server under WinXP, client is Builder/ADO application
connecting through ODBC. Found a reference to exactly the same problem on
this msg http://archives.postgresql.org/pgsql-odbc/2005-02/msg00033.php. Is
this a PostgreSQL bug? Or is it ODBC driver? My application also works with
MySQL and this doesn't happen when connecting to a MySQL server so I don't
think is has to do with the ADO components. Like the poster of that message
my query gets executed twice, one as I specified the second time without the
WHERE clause, so the whole Table is returned causing a lot of network
traffic and slowing things down...What is the 'parse statement' mentioned on
that message? Is that a PostgreSQL setting?
erne_dev
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.6.1 - Release Date: 3/4/2005
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: erne_dev@bellsouth.net
Subject: Re: Queries run twice
In-Reply-To: <FIEALGGOPOGCKJEBMHJIIEGNCHAA.erne_dev@bellsouth.net>
References: <FIEALGGOPOGCKJEBMHJIIEGNCHAA.erne_dev@bellsouth.net>
* 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