pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: swampler@noao.edu
Cc: Postgres-ODBC <pgsql-odbc@postgresql.org>
Subject: Re: Help with hang on empty query (PG 7.3.2,
Date: Fri, 7 Nov 2003 20:30:30 -0800 (PST)
Message-ID: <20031108043030.19227.qmail@web20806.mail.yahoo.com> (raw)
In-Reply-To: <1068237031.12206.36.camel@weaver.tuc.noao.edu>

--- Steve Wampler <swampler@noao.edu> wrote:
> On Fri, 2003-11-07 at 11:38, Jeff Eckermann wrote:
> > --- Steve Wampler <swampler@noao.edu> wrote:
> > > 
> > > I recently upgraded a system from RedHat 8 to
> RedHat
> > > 9, which
> > > meant an upgrade of PG 7.2 to 7.3.2.  Several
> > > applications
> > > that are written in a language that relies upon
> dbc
> > > to access
> > > postgresql have stopped working.
> > > 
> > > I've installed from source psqlodbc-07.03.0200
> > > (pthread
> > > and iodbc support).  From the logs it looks as
> > > though the
> > > connection is succeeding up to the point that an
> > > empty query is sent (dunno why the empty query
> is
> > > being
> > > sent - it appears to be part of the connection
> > > procedure).
> > > At this point the connection hangs - no
> messages, or
> > > errors.
> > > Killing the client program causes postgresql to
> log
> > > a:
> > > 
> > >    LOG:  pq_recvbuf: unexpected EOF on client
> > > connection
> > > 
> > > message.
> > > 
> > > These programs had all been working with the
> odbc
> > > RPM that was
> > > available for 7.2.3, so I assume it's something
> to
> > > do with
> > > how I configured the build.
> > > 
> > > (Can someone tell me why the odbc RPM was
> dropped
> > > with 7.3?)
> > > 
> > > Thanks for any help!
> > 
> > Someone posted a similar problem to the list not
> long
> > ago.  Turned out to be a connection problem, i.e.
> they
> > could not connect to the server from the new
> client
> > machine at all.  Can you successfully connect and
> > issue queries from this machine using psql or any
> > other interface?
> 
> Yes, with no problem, both psql and jdbc.

That's me out of ideas, then.  I believe the driver
issues an empty query as part of the connection
routine to get a response back from the server, just
to test that someone is listening.  In principle, if
that doesn't work, other queries wouldn't work either.
 I don't remember whether you posted your odbc log (I
deleted the message), so please post it if you didn't
before: maybe someone can make something out of it.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



view thread (9+ messages)  latest in thread

Message-ID: <20031108043030.19227.qmail@web20806.mail.yahoo.com>
Permalink:  ../20031108043030.19227.qmail@web20806.mail.yahoo.com/
Also on:    postgresql.org/message-id/20031108043030.19227.qmail@web20806.mail.yahoo.com

 · 

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: jeff_eckermann@yahoo.com, swampler@noao.edu
  Subject: Re: Help with hang on empty query (PG 7.3.2,
  In-Reply-To: <20031108043030.19227.qmail@web20806.mail.yahoo.com>
  References: <1068237031.12206.36.camel@weaver.tuc.noao.edu> <20031108043030.19227.qmail@web20806.mail.yahoo.com>

* 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