pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC problem with local PostgreSQL 8.1 DBMS
3+ messages / 2 participants
[nested] [flat]

* ODBC problem with local PostgreSQL 8.1 DBMS
@ 2007-03-01 14:58  Nardmann, Heiko <heiko.nardmann@secunet.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Nardmann, Heiko @ 2007-03-01 14:58 UTC (permalink / raw)
  To: pgsql-odbc

Hi together,

I have a problem with connections to a PostgreSQL 8.1 system. My locally 
running application does about a few hundred SELECTs. During these SELECTs at 
a random point one SELECT (not even the same) fails always. The failing 
appears as some sort of Windows exception which I cannot details of because 
my C++ application catches this exception only by 'catch (...)'. Any other 
possible exception class is caught before and therefore not candidate for 
this special exception.

Another thing is that the selects run really long but maybe this is just a 
problem of the last (failing) SELECT and a timeout. I am not sure about this.

The strange thing about this is that the problem only occurrs when connecting 
to the DBMS from the same (local) machine. It does NOT occur when connecting 
to the DBMS from remote.
So my idea was that maybe ODBC is doing something wrong. Any idea how to trace 
this?

Thanks in advance!

Heiko Nardmann



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ODBC problem with local PostgreSQL 8.1 DBMS
@ 2007-03-01 16:01  Ludek Finstrle <luf@pzkagis.cz>
  parent: Nardmann, Heiko <heiko.nardmann@secunet.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Ludek Finstrle @ 2007-03-01 16:01 UTC (permalink / raw)
  To: Nardmann, Heiko <heiko.nardmann@secunet.com>; +Cc: pgsql-odbc

> I have a problem with connections to a PostgreSQL 8.1 system. My locally 
> running application does about a few hundred SELECTs. During these SELECTs at 
> a random point one SELECT (not even the same) fails always. The failing 
> appears as some sort of Windows exception which I cannot details of because 
> my C++ application catches this exception only by 'catch (...)'. Any other 
> possible exception class is caught before and therefore not candidate for 
> this special exception.

What psqlodbc version are you using? What is the connection string?
Could you provide us the common log output?

Regards,

Luf

P.S. I'm going to be on holiday next week. I hope someone else will help
     you.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ODBC problem with local PostgreSQL 8.1 DBMS
@ 2007-03-12 15:33  Nardmann, Heiko <heiko.nardmann@secunet.com>
  parent: Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 0 replies; 3+ messages in thread

From: Nardmann, Heiko @ 2007-03-12 15:33 UTC (permalink / raw)
  To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: pgsql-odbc

Am Donnerstag, 1. März 2007 17:01 schrieb Ludek Finstrle:
> > I have a problem with connections to a PostgreSQL 8.1 system. My locally
> > running application does about a few hundred SELECTs. During these
> > SELECTs at a random point one SELECT (not even the same) fails always.
> > The failing appears as some sort of Windows exception which I cannot
> > details of because my C++ application catches this exception only by
> > 'catch (...)'. Any other possible exception class is caught before and
> > therefore not candidate for this special exception.
>
> What psqlodbc version are you using? What is the connection string?
> Could you provide us the common log output?
>
> Regards,
>
> Luf
>
> P.S. I'm going to be on holiday next week. I hope someone else will help
>      you.

In the meanwhile we solved the problem. The problem was that the ODBC 
definition had 'Debug' option set to '1' which seems to create some overhead 
which leads to either timing issues or too much data. I'm using OTL for 
accessing ODBC - maybe it is an issue there.

-- 
Heiko Nardmann



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-03-12 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-01 14:58 ODBC problem with local PostgreSQL 8.1 DBMS Nardmann, Heiko <heiko.nardmann@secunet.com>
2007-03-01 16:01 ` Ludek Finstrle <luf@pzkagis.cz>
2007-03-12 15:33   ` Nardmann, Heiko <heiko.nardmann@secunet.com>

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