pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
changed behavior in libpq odbc driver
33+ messages / 5 participants
[nested] [flat]

* changed behavior in libpq odbc driver
@ 2005-08-18 01:47  Scot Loach <sloach@sandvine.com>
  0 siblings, 1 reply; 33+ messages in thread

From: Scot Loach @ 2005-08-18 01:47 UTC (permalink / raw)
  To: pgsql-odbc

I'm not sure whether the old driver or the new one is correct.

When executing an UPDATE query with a WHERE clause, if the WHERE clause does not match any rows, the old driver returns SQL_NO_DATA.  The new driver returns SQL_SUCCESS.





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

* Re: changed behavior in libpq odbc driver
@ 2005-08-18 10:22  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-18 10:22 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; pgsql-odbc

Hi Scot,

Can you provide the following details?
	1. The psqlodbc (socket) version you used
	2. PostgreSQL version
	3. OS

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Thursday, August 18, 2005 7:18 AM
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] changed behavior in libpq odbc driver
> 
> I'm not sure whether the old driver or the new one is correct.
> 
> When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> 
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-18 14:03  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-18 14:03 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; pgsql-odbc

OS is FreeBSD 5.4, but I really don't think this matters.
PostgreSQL 7.4.6
old psqlodbc is version 07.03.0200, but it has various updates applied to it.
new psqlodbc is the latest from CVS as of about a week ago.


-----Original Message-----
From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent: Thursday, August 18, 2005 6:23 AM
To: Scot Loach; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


Hi Scot,

Can you provide the following details?
	1. The psqlodbc (socket) version you used
	2. PostgreSQL version
	3. OS

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Thursday, August 18, 2005 7:18 AM
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] changed behavior in libpq odbc driver
> 
> I'm not sure whether the old driver or the new one is correct.
> 
> When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> 
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-19 00:41  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-19 00:41 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; pgsql-odbc

Another difference is the "state" that is returned from SQLGetDiagRec when a connection is lost during a query.  This used to return 08S01.  It now returns HY000.  From the documentation it would appear that 08S01 is the correct return code in this case.  I'm guessing the error codes are not implemented in the libpq version of the driver yet.

Also, SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to work anymore.



-----Original Message-----
From:	pgsql-odbc-owner@postgresql.org on behalf of Scot Loach
Sent:	Thu 8/18/2005 10:03 AM
To:	Anoop Kumar; pgsql-odbc@postgresql.org
Cc:	
Subject:	Re: [ODBC] changed behavior in libpq odbc driver
OS is FreeBSD 5.4, but I really don't think this matters.
PostgreSQL 7.4.6
old psqlodbc is version 07.03.0200, but it has various updates applied to it.
new psqlodbc is the latest from CVS as of about a week ago.


-----Original Message-----
From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent: Thursday, August 18, 2005 6:23 AM
To: Scot Loach; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


Hi Scot,

Can you provide the following details?
	1. The psqlodbc (socket) version you used
	2. PostgreSQL version
	3. OS

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Thursday, August 18, 2005 7:18 AM
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] changed behavior in libpq odbc driver
> 
> I'm not sure whether the old driver or the new one is correct.
> 
> When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> 
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly





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

* Re: changed behavior in libpq odbc driver
@ 2005-08-21 14:36  Marko Ristola <marko.ristola@kolumbus.fi>
  parent: Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Marko Ristola @ 2005-08-21 14:36 UTC (permalink / raw)
  To: ; +Cc: pgsql-odbc


Please check, but ODBC 3 should return SQL_NO_DATA, when
no data has been updated.

ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.

So it depends on the ODBC standard, that the client program chooses.

Marko Ristola

Scot Loach wrote:

>I'm not sure whether the old driver or the new one is correct.
>
>When executing an UPDATE query with a WHERE clause, if the WHERE clause does not match any rows, the old driver returns SQL_NO_DATA.  The new driver returns SQL_SUCCESS.
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>  
>




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

* Re: changed behavior in libpq odbc driver
@ 2005-08-21 15:00  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-21 15:00 UTC (permalink / raw)
  To: Marko Ristola <marko.ristola@kolumbus.fi>; +Cc: pgsql-odbc

Thanks for the clarification, Marko.
I use ODBC 3.0, so it would seem that this is a bug.

scot.


-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Marko Ristola
Sent: Sunday, August 21, 2005 10:36 AM
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] changed behavior in libpq odbc driver



Please check, but ODBC 3 should return SQL_NO_DATA, when
no data has been updated.

ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.

So it depends on the ODBC standard, that the client program chooses.

Marko Ristola

Scot Loach wrote:

>I'm not sure whether the old driver or the new one is correct.
>
>When executing an UPDATE query with a WHERE clause, if the WHERE clause does not match any rows, the old driver returns SQL_NO_DATA.  The new driver returns SQL_SUCCESS.
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>  
>


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-24 06:16  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-24 06:16 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; +Cc: pgsql-odbc

Hi,

I have committed the patch for returning SQL_NO_DATA_FOUND instead of
SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You may check it
out from the CVS.

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Sunday, August 21, 2005 8:31 PM
> To: Marko Ristola
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks for the clarification, Marko.
> I use ODBC 3.0, so it would seem that this is a bug.
> 
> scot.
> 
> 
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Marko Ristola
> Sent: Sunday, August 21, 2005 10:36 AM
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> Please check, but ODBC 3 should return SQL_NO_DATA, when
> no data has been updated.
> 
> ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.
> 
> So it depends on the ODBC standard, that the client program chooses.
> 
> Marko Ristola
> 
> Scot Loach wrote:
> 
> >I'm not sure whether the old driver or the new one is correct.
> >
> >When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> >
> >
> >
> >---------------------------(end of
broadcast)---------------------------
> >TIP 9: In versions below 8.0, the planner will ignore your desire to
> >       choose an index scan if your joining column's datatypes do not
> >       match
> >
> >
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-24 09:46  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-24 09:46 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; Scot Loach <sloach@sandvine.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org 
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> Sent: 24 August 2005 07:17
> To: Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> Hi,
> 
> I have committed the patch for returning SQL_NO_DATA_FOUND instead of
> SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You 
> may check it
> out from the CVS.

Ahh, one less item on my todo :-)

Do you intend to fix the state code problem and dead connection
detection issues reported by Scot as well? 

<sob story>it would really help me if you could as I've got a bunch of
other stuff to do :-( </sob story>

:-)

Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-25 05:56  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 1 reply; 33+ messages in thread

From: Anoop Kumar @ 2005-08-25 05:56 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Scot Loach <sloach@sandvine.com>; +Cc: pgsql-odbc

Hi Dave,

OK, I shall look into the state code problem and dead connection
detection issues. :-)

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Wednesday, August 24, 2005 3:16 PM
> To: Anoop Kumar; Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> > -----Original Message-----
> > From: pgsql-odbc-owner@postgresql.org
> > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> > Sent: 24 August 2005 07:17
> > To: Scot Loach
> > Cc: pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] changed behavior in libpq odbc driver
> >
> > Hi,
> >
> > I have committed the patch for returning SQL_NO_DATA_FOUND instead
of
> > SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
> > may check it
> > out from the CVS.
> 
> Ahh, one less item on my todo :-)
> 
> Do you intend to fix the state code problem and dead connection
> detection issues reported by Scot as well?
> 
> <sob story>it would really help me if you could as I've got a bunch of
> other stuff to do :-( </sob story>
> 
> :-)
> 
> Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-25 08:46  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-25 08:46 UTC (permalink / raw)
  To: anoopk@pervasive-postgres.com; dpage@vale-housing.co.uk; sloach@sandvine.com; +Cc: pgsql-odbc

Thanks  :-)


-----Original Message-----
From: "Anoop Kumar"<anoopk@pervasive-postgres.com>
Sent: 25/08/05 06:56:58
To: "Dave Page"<dpage@vale-housing.co.uk>, "Scot Loach"<sloach@sandvine.com>
Cc: "pgsql-odbc@postgresql.org"<pgsql-odbc@postgresql.org>
Subject: RE: [ODBC] changed behavior in libpq odbc driver

Hi Dave,

OK, I shall look into the state code problem and dead connection
detection issues. :-)

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Wednesday, August 24, 2005 3:16 PM
> To: Anoop Kumar; Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> > -----Original Message-----
> > From: pgsql-odbc-owner@postgresql.org
> > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> > Sent: 24 August 2005 07:17
> > To: Scot Loach
> > Cc: pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] changed behavior in libpq odbc driver
> >
> > Hi,
> >
> > I have committed the patch for returning SQL_NO_DATA_FOUND instead
of
> > SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
> > may check it
> > out from the CVS.
> 
> Ahh, one less item on my todo :-)
> 
> Do you intend to fix the state code problem and dead connection
> detection issues reported by Scot as well?
> 
> <sob story>it would really help me if you could as I've got a bunch of
> other stuff to do :-( </sob story>
> 
> :-)
> 
> Regards, Dave.



-----Unmodified Original Message-----
Hi Dave,

OK, I shall look into the state code problem and dead connection
detection issues. :-)

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Wednesday, August 24, 2005 3:16 PM
> To: Anoop Kumar; Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> > -----Original Message-----
> > From: pgsql-odbc-owner@postgresql.org
> > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> > Sent: 24 August 2005 07:17
> > To: Scot Loach
> > Cc: pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] changed behavior in libpq odbc driver
> >
> > Hi,
> >
> > I have committed the patch for returning SQL_NO_DATA_FOUND instead
of
> > SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
> > may check it
> > out from the CVS.
> 
> Ahh, one less item on my todo :-)
> 
> Do you intend to fix the state code problem and dead connection
> detection issues reported by Scot as well?
> 
> <sob story>it would really help me if you could as I've got a bunch of
> other stuff to do :-( </sob story>
> 
> :-)
> 
> Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-25 20:33  Zoltan Boszormenyi <zboszor@dunaweb.hu>
  parent: Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Zoltan Boszormenyi @ 2005-08-25 20:33 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: Dave Page <dpage@vale-housing.co.uk>; Scot Loach <sloach@sandvine.com>; pgsql-odbc

Hi,

Anoop Kumar írta:
> Hi Dave,
> 
> OK, I shall look into the state code problem and dead connection
> detection issues. :-)
> 
> Regards
> 
> Anoop

is there any chance, guys, that you can make SQLCancel() work
any time soon?

Thanks,
Zoltán Böszörményi

>>-----Original Message-----
>>From: Dave Page [mailto:dpage@vale-housing.co.uk]
>>Sent: Wednesday, August 24, 2005 3:16 PM
>>To: Anoop Kumar; Scot Loach
>>Cc: pgsql-odbc@postgresql.org
>>Subject: RE: [ODBC] changed behavior in libpq odbc driver
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: pgsql-odbc-owner@postgresql.org
>>>[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
>>>Sent: 24 August 2005 07:17
>>>To: Scot Loach
>>>Cc: pgsql-odbc@postgresql.org
>>>Subject: Re: [ODBC] changed behavior in libpq odbc driver
>>>
>>>Hi,
>>>
>>>I have committed the patch for returning SQL_NO_DATA_FOUND instead
> 
> of
> 
>>>SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
>>>may check it
>>>out from the CVS.
>>
>>Ahh, one less item on my todo :-)
>>
>>Do you intend to fix the state code problem and dead connection
>>detection issues reported by Scot as well?
>>
>><sob story>it would really help me if you could as I've got a bunch of
>>other stuff to do :-( </sob story>
>>
>>:-)
>>
>>Regards, Dave.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 




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

* Re: changed behavior in libpq odbc driver
@ 2005-08-30 05:05  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-30 05:05 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; sloach@sandvine.com; +Cc: pgsql-odbc

Hi All,

Here is a patch for the following bug pointed out by Scot.

"SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to work
anymore."

I request you to review this patch.

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Thursday, August 25, 2005 2:16 PM
> To: Anoop Kumar; dpage@vale-housing.co.uk; sloach@sandvine.com
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks  :-)
> 
> 
> -----Original Message-----
> From: "Anoop Kumar"<anoopk@pervasive-postgres.com>
> Sent: 25/08/05 06:56:58
> To: "Dave Page"<dpage@vale-housing.co.uk>, "Scot
> Loach"<sloach@sandvine.com>
> Cc: "pgsql-odbc@postgresql.org"<pgsql-odbc@postgresql.org>
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Hi Dave,
> 
> OK, I shall look into the state code problem and dead connection
> detection issues. :-)
> 
> Regards
> 
> Anoop
> 
> > -----Original Message-----
> > From: Dave Page [mailto:dpage@vale-housing.co.uk]
> > Sent: Wednesday, August 24, 2005 3:16 PM
> > To: Anoop Kumar; Scot Loach
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> >
> >
> >
> > > -----Original Message-----
> > > From: pgsql-odbc-owner@postgresql.org
> > > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> > > Sent: 24 August 2005 07:17
> > > To: Scot Loach
> > > Cc: pgsql-odbc@postgresql.org
> > > Subject: Re: [ODBC] changed behavior in libpq odbc driver
> > >
> > > Hi,
> > >
> > > I have committed the patch for returning SQL_NO_DATA_FOUND instead
> of
> > > SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
> > > may check it
> > > out from the CVS.
> >
> > Ahh, one less item on my todo :-)
> >
> > Do you intend to fix the state code problem and dead connection
> > detection issues reported by Scot as well?
> >
> > <sob story>it would really help me if you could as I've got a bunch
of
> > other stuff to do :-( </sob story>
> >
> > :-)
> >
> > Regards, Dave.
> 
> 
> 
> -----Unmodified Original Message-----
> Hi Dave,
> 
> OK, I shall look into the state code problem and dead connection
> detection issues. :-)
> 
> Regards
> 
> Anoop
> 
> > -----Original Message-----
> > From: Dave Page [mailto:dpage@vale-housing.co.uk]
> > Sent: Wednesday, August 24, 2005 3:16 PM
> > To: Anoop Kumar; Scot Loach
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> >
> >
> >
> > > -----Original Message-----
> > > From: pgsql-odbc-owner@postgresql.org
> > > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Anoop Kumar
> > > Sent: 24 August 2005 07:17
> > > To: Scot Loach
> > > Cc: pgsql-odbc@postgresql.org
> > > Subject: Re: [ODBC] changed behavior in libpq odbc driver
> > >
> > > Hi,
> > >
> > > I have committed the patch for returning SQL_NO_DATA_FOUND instead
> of
> > > SQL_SUCCESS when no rows got affected in UPDATE/DELETE. You
> > > may check it
> > > out from the CVS.
> >
> > Ahh, one less item on my todo :-)
> >
> > Do you intend to fix the state code problem and dead connection
> > detection issues reported by Scot as well?
> >
> > <sob story>it would really help me if you could as I've got a bunch
of
> > other stuff to do :-( </sob story>
> >
> > :-)
> >
> > Regards, Dave.

Attachments:

sqlconn_dead_libpq.patch (application/octet-stream, 2.1K) download Index: pgapi30.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/pgapi30.c,v retrieving revision 1.22 diff -u -r1.22 pgapi30.c --- pgapi30.c 13 Jul 2005 14:23:35 -0000 1.22 +++ pgapi30.c 25 Aug 2005 14:10:52 -0000 @@ -382,6 +382,9 @@ *((SQLUINTEGER *) Value) = SQL_FALSE; break; case SQL_ATTR_CONNECTION_DEAD: +#ifdef USE_LIBPQ + CC_is_server_alive(conn); +#endif /* USE_LIBPQ */ *((SQLUINTEGER *) Value) = (conn->status == CONN_NOT_CONNECTED || conn->status == CONN_DOWN); break; case SQL_ATTR_CONNECTION_TIMEOUT: Index: connection.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/connection.c,v retrieving revision 1.106 diff -u -r1.106 connection.c --- connection.c 12 Aug 2005 09:47:54 -0000 1.106 +++ connection.c 25 Aug 2005 14:08:06 -0000 @@ -3336,6 +3336,26 @@ return qres; } +void +CC_is_server_alive(ConnectionClass *conn) +{ + PGresult *res; + if((PQstatus(conn->pgconn)) != CONNECTION_OK) + conn->status = CONN_NOT_CONNECTED; + res = PQexec(conn->pgconn,"SELECT 1"); + if(PQresultStatus(res) != PGRES_TUPLES_OK) + { + PQclear(res); + conn->status = CONN_DOWN; + } + else + { + PQclear(res); + conn->status = CONN_CONNECTED; + } + +} + #endif /* USE_LIBPQ */ Index: libpqconnection.h =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/libpqconnection.h,v retrieving revision 1.3 diff -u -r1.3 libpqconnection.h --- libpqconnection.h 12 Aug 2005 09:19:42 -0000 1.3 +++ libpqconnection.h 25 Aug 2005 14:05:22 -0000 @@ -408,6 +408,7 @@ int LIBPQ_connect(ConnectionClass *self); QResultClass *LIBPQ_execute_query(ConnectionClass *self,char *query); QResultClass *CC_mapping(ConnectionClass *self,PGresult *pgres,QResultClass *qres); +void CC_is_server_alive(ConnectionClass *conn); /* CC_send_query options */ #define CLEAR_RESULT_ON_ABORT 1L #define CREATE_KEYSET (1L << 1) /* create keyset for updatable curosrs */
^ permalink raw reply [nested|flat] 33+ messages in thread

* Re: changed behavior in libpq odbc driver
@ 2005-08-30 08:54  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-30 08:54 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; sloach@sandvine.com; +Cc: pgsql-odbc


> -----Original Message-----
> From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com] 
> Sent: 30 August 2005 06:05
> To: Dave Page; sloach@sandvine.com
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Hi All,
> 
> Here is a patch for the following bug pointed out by Scot.
> 
> "SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to work
> anymore."
> 
> I request you to review this patch.

Looks good to me. 

You'll apply it?

Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-30 09:20  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-30 09:20 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; sloach@sandvine.com; +Cc: pgsql-odbc

Hi Dave,

The patch is applied.

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Tuesday, August 30, 2005 2:24 PM
> To: Anoop Kumar; sloach@sandvine.com
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> > -----Original Message-----
> > From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> > Sent: 30 August 2005 06:05
> > To: Dave Page; sloach@sandvine.com
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> >
> > Hi All,
> >
> > Here is a patch for the following bug pointed out by Scot.
> >
> > "SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to
work
> > anymore."
> >
> > I request you to review this patch.
> 
> Looks good to me.
> 
> You'll apply it?
> 
> Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-30 09:23  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-30 09:23 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; sloach@sandvine.com; +Cc: pgsql-odbc

Thanks Anoop.

/D 

> -----Original Message-----
> From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com] 
> Sent: 30 August 2005 10:21
> To: Dave Page; sloach@sandvine.com
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Hi Dave,
> 
> The patch is applied.
> 
> Regards
> 
> Anoop
> 
> > -----Original Message-----
> > From: Dave Page [mailto:dpage@vale-housing.co.uk]
> > Sent: Tuesday, August 30, 2005 2:24 PM
> > To: Anoop Kumar; sloach@sandvine.com
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> > 
> > 
> > > -----Original Message-----
> > > From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> > > Sent: 30 August 2005 06:05
> > > To: Dave Page; sloach@sandvine.com
> > > Cc: pgsql-odbc@postgresql.org
> > > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> > >
> > > Hi All,
> > >
> > > Here is a patch for the following bug pointed out by Scot.
> > >
> > > "SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to
> work
> > > anymore."
> > >
> > > I request you to review this patch.
> > 
> > Looks good to me.
> > 
> > You'll apply it?
> > 
> > Regards, Dave
> 



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-30 17:56  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-30 17:56 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; Dave Page <dpage@vale-housing.co.uk>; +Cc: pgsql-odbc

Thanks guys, I've verified that this works.

Any update on getting the sql error codes fixed?


-----Original Message-----
From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent: Tuesday, August 30, 2005 5:21 AM
To: Dave Page; Scot Loach
Cc: pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


Hi Dave,

The patch is applied.

Regards

Anoop

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Tuesday, August 30, 2005 2:24 PM
> To: Anoop Kumar; sloach@sandvine.com
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> > -----Original Message-----
> > From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> > Sent: 30 August 2005 06:05
> > To: Dave Page; sloach@sandvine.com
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> >
> > Hi All,
> >
> > Here is a patch for the following bug pointed out by Scot.
> >
> > "SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to
work
> > anymore."
> >
> > I request you to review this patch.
> 
> Looks good to me.
> 
> You'll apply it?
> 
> Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 04:58  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-31 04:58 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Dave Page <dpage@vale-housing.co.uk>; +Cc: pgsql-odbc

Hi Scot,

I will post the fix for the sql error codes today.

Regards

Anoop

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com]
> Sent: Tuesday, August 30, 2005 11:27 PM
> To: Anoop Kumar; Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks guys, I've verified that this works.
> 
> Any update on getting the sql error codes fixed?
> 
> 
> -----Original Message-----
> From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> Sent: Tuesday, August 30, 2005 5:21 AM
> To: Dave Page; Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
> Hi Dave,
> 
> The patch is applied.
> 
> Regards
> 
> Anoop
> 
> > -----Original Message-----
> > From: Dave Page [mailto:dpage@vale-housing.co.uk]
> > Sent: Tuesday, August 30, 2005 2:24 PM
> > To: Anoop Kumar; sloach@sandvine.com
> > Cc: pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> >
> >
> > > -----Original Message-----
> > > From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> > > Sent: 30 August 2005 06:05
> > > To: Dave Page; sloach@sandvine.com
> > > Cc: pgsql-odbc@postgresql.org
> > > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> > >
> > > Hi All,
> > >
> > > Here is a patch for the following bug pointed out by Scot.
> > >
> > > "SQLGetConnectAttr with SQL_ATTR_CONNECTION_DEAD doesn't seem to
> work
> > > anymore."
> > >
> > > I request you to review this patch.
> >
> > Looks good to me.
> >
> > You'll apply it?
> >
> > Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 05:51  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Anoop Kumar @ 2005-08-31 05:51 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; +Cc: pgsql-odbc; Dave Page <dpage@vale-housing.co.uk>

Hi All,

Please find the patch for the other bug pointed out by Scot. (Thanks to
Sivakumar)

"Another difference is the "state" that is returned from SQLGetDiagRec
when a connection is lost during a query.  This used to return 08S01.
It now returns HY000."

I request you to review this patch as well. 

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Sunday, August 21, 2005 8:31 PM
> To: Marko Ristola
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks for the clarification, Marko.
> I use ODBC 3.0, so it would seem that this is a bug.
> 
> scot.
> 
> 
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Marko Ristola
> Sent: Sunday, August 21, 2005 10:36 AM
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> Please check, but ODBC 3 should return SQL_NO_DATA, when
> no data has been updated.
> 
> ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.
> 
> So it depends on the ODBC standard, that the client program chooses.
> 
> Marko Ristola
> 
> Scot Loach wrote:
> 
> >I'm not sure whether the old driver or the new one is correct.
> >
> >When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> >
> >
> >
> >---------------------------(end of
broadcast)---------------------------
> >TIP 9: In versions below 8.0, the planner will ignore your desire to
> >       choose an index scan if your joining column's datatypes do not
> >       match
> >
> >
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

Attachments:

sqlexec_errstate_libpq.patch (application/octet-stream, 2.9K) download Index: connection.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/connection.c,v retrieving revision 1.107 diff -u -r1.107 connection.c --- connection.c 30 Aug 2005 09:19:50 -0000 1.107 +++ connection.c 30 Aug 2005 09:39:22 -0000 @@ -3171,6 +3171,22 @@ return NULL; } qres->status = PQresultStatus(pgres); + /* I assume PGRES_FATAL_ERROR is returned when the server is dead. + * Siva Kumar.K 30-8-2005 */ + if(qres->status == PGRES_FATAL_ERROR) + { + snprintf(errbuffer, ERROR_MSG_LENGTH, "%s", PQerrorMessage(self->pgconn)); + /* Remove the training CR that libpq adds to the message */ + pos = strlen(errbuffer); + if (pos) + errbuffer[pos - 1] = '\0'; + + mylog("The server could be dead: %s\n", errbuffer); + CC_set_error(self, CONNECTION_COULD_NOT_SEND, errbuffer); + CC_on_abort(self,CONN_DEAD); + PQclear(pgres); + return qres; + } if (strnicmp(cmdbuffer, "BEGIN", 5) == 0) { Index: qresult.h =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/qresult.h,v retrieving revision 1.30 diff -u -r1.30 qresult.h --- qresult.h 13 Jul 2005 14:23:35 -0000 1.30 +++ qresult.h 30 Aug 2005 09:33:26 -0000 @@ -130,6 +130,7 @@ #define QR_command_successful(self) ( !(self->status == PGRES_BAD_RESPONSE || self->status == PGRES_NONFATAL_ERROR || self->status == PGRES_FATAL_ERROR)) #define QR_command_maybe_successful(self) ( !(self->status == PGRES_BAD_RESPONSE || self->status == PGRES_FATAL_ERROR)) #define QR_command_nonfatal(self) ( self->status == PGRES_NONFATAL_ERROR) +#define QR_command_fatal(self) ( self->status == PGRES_FATAL_ERROR) #define QR_end_tuples(self) ( self->status == PGRES_END_TUPLES) #define QR_set_status(self, condition) ( self->status = condition ) #define QR_set_aborted(self, aborted_) ( self->aborted = aborted_) Index: statement.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/statement.c,v retrieving revision 1.95 diff -u -r1.95 statement.c --- statement.c 4 Aug 2005 13:39:28 -0000 1.95 +++ statement.c 30 Aug 2005 09:35:48 -0000 @@ -1092,7 +1092,7 @@ CSTR func = "SC_execute"; ConnectionClass *conn; IPDFields *ipdopts; - char was_ok, was_nonfatal; + char was_ok, was_nonfatal,was_fatal; QResultClass *res = NULL; Int2 oldstatus, numcols; @@ -1220,10 +1220,13 @@ { was_ok = QR_command_successful(res); was_nonfatal = QR_command_nonfatal(res); + was_fatal = QR_command_fatal(res); if (was_ok) SC_set_errornumber(self, STMT_OK); - else + else if (was_fatal) + SC_set_errornumber(self,STMT_BAD_ERROR); + else SC_set_errornumber(self, was_nonfatal ? STMT_INFO_ONLY : STMT_ERROR_TAKEN_FROM_BACKEND); /* set cursor before the first tuple in the list */
^ permalink raw reply [nested|flat] 33+ messages in thread

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 07:33  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-31 07:33 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; Scot Loach <sloach@sandvine.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com] 
> Sent: 31 August 2005 06:51
> To: Scot Loach
> Cc: pgsql-odbc@postgresql.org; Dave Page
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Hi All,
> 
> Please find the patch for the other bug pointed out by Scot. 
> (Thanks to
> Sivakumar)
> 
> "Another difference is the "state" that is returned from SQLGetDiagRec
> when a connection is lost during a query.  This used to return 08S01.
> It now returns HY000."
> 
> I request you to review this patch as well. 

Hi Anoop,

This works well for me, and looks OK. I've committed it as I had all the
right windows etc. open already :-)

Thanks to Sivakumar.

Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 12:52  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-31 12:52 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc; Dave Page <dpage@vale-housing.co.uk>

That didn't fix it, it still returns HY000.

This is the error message that comes back:

FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally


-----Original Message-----
From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent: Wednesday, August 31, 2005 1:51 AM
To: Scot Loach
Cc: pgsql-odbc@postgresql.org; Dave Page
Subject: RE: [ODBC] changed behavior in libpq odbc driver


Hi All,

Please find the patch for the other bug pointed out by Scot. (Thanks to
Sivakumar)

"Another difference is the "state" that is returned from SQLGetDiagRec
when a connection is lost during a query.  This used to return 08S01.
It now returns HY000."

I request you to review this patch as well. 

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Sunday, August 21, 2005 8:31 PM
> To: Marko Ristola
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks for the clarification, Marko.
> I use ODBC 3.0, so it would seem that this is a bug.
> 
> scot.
> 
> 
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Marko Ristola
> Sent: Sunday, August 21, 2005 10:36 AM
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> Please check, but ODBC 3 should return SQL_NO_DATA, when
> no data has been updated.
> 
> ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.
> 
> So it depends on the ODBC standard, that the client program chooses.
> 
> Marko Ristola
> 
> Scot Loach wrote:
> 
> >I'm not sure whether the old driver or the new one is correct.
> >
> >When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> >
> >
> >
> >---------------------------(end of
broadcast)---------------------------
> >TIP 9: In versions below 8.0, the planner will ignore your desire to
> >       choose an index scan if your joining column's datatypes do not
> >       match
> >
> >
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 13:08  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-31 13:08 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 31 August 2005 13:52
> To: Anoop Kumar
> Cc: pgsql-odbc@postgresql.org; Dave Page
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> That didn't fix it, it still returns HY000.
> 
> This is the error message that comes back:
> 
> FATAL:  terminating connection due to administrator command
> server closed the connection unexpectedly
> This probably means the server terminated abnormally

Odd - it works for me:

	Successfully connected to DSN 'unicode'.
SQLGetInfo:
				In:
ConnectionHandle = 0x003B14B8, InfoType = SQL_DBMS_VER=18, InfoValuePtr
= 0x000A73A0, BufferLength = 600, StringLengthPtr = 0x000ADFD8, 
	
Information Value Type = SQL_C_WCHAR=-8
				Return:	SQL_SUCCESS=0
				Out:			*InfoValuePtr =
"08.01.0004 PostgreSQL 8.0.3 on i686-pc-mingw32, co...",
*StringLengthPtr = 173
SQLExecDirect:
				In:
Statementhandle = 0x003B16C0, StatementText = "SELECT version()",
Statementlength = 16
				Return:	SQL_ERROR=-1
				stmt:		szSqlState = "08S01",
*pfNativeError = 27, *pcbErrorMsg = 169, *ColumnNumber = -2, *RowNumber
= -2
	
MessageText = "Error while executing the query;
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request."


What steps are you using to repeat the failure at your end? I'm doing:

1) Open connection
2) Call SQLGetInfo and doubly confirm we're connected.
3) Stop the server.
4) Execute a query.

Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 13:46  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-31 13:46 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

My mistake, I tried it again and it does seem to be working now - I must not have updated properly for my last compile.

scot.


-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk]
Sent: Wednesday, August 31, 2005 9:08 AM
To: Scot Loach; Anoop Kumar
Cc: pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 31 August 2005 13:52
> To: Anoop Kumar
> Cc: pgsql-odbc@postgresql.org; Dave Page
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> That didn't fix it, it still returns HY000.
> 
> This is the error message that comes back:
> 
> FATAL:  terminating connection due to administrator command
> server closed the connection unexpectedly
> This probably means the server terminated abnormally

Odd - it works for me:

	Successfully connected to DSN 'unicode'.
SQLGetInfo:
				In:
ConnectionHandle = 0x003B14B8, InfoType = SQL_DBMS_VER=18, InfoValuePtr
= 0x000A73A0, BufferLength = 600, StringLengthPtr = 0x000ADFD8, 
	
Information Value Type = SQL_C_WCHAR=-8
				Return:	SQL_SUCCESS=0
				Out:			*InfoValuePtr =
"08.01.0004 PostgreSQL 8.0.3 on i686-pc-mingw32, co...",
*StringLengthPtr = 173
SQLExecDirect:
				In:
Statementhandle = 0x003B16C0, StatementText = "SELECT version()",
Statementlength = 16
				Return:	SQL_ERROR=-1
				stmt:		szSqlState = "08S01",
*pfNativeError = 27, *pcbErrorMsg = 169, *ColumnNumber = -2, *RowNumber
= -2
	
MessageText = "Error while executing the query;
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request."


What steps are you using to repeat the failure at your end? I'm doing:

1) Open connection
2) Call SQLGetInfo and doubly confirm we're connected.
3) Stop the server.
4) Execute a query.

Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 14:16  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-08-31 14:16 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 31 August 2005 14:47
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> My mistake, I tried it again and it does seem to be working 
> now - I must not have updated properly for my last compile.

Good. Were there any other issues that you reported that we've missed?

If not, once I've heard how this unicode patch looks from a few people,
I'll rename the driver and push out a new version (I'm keen to get this
done for pgInstaller 8.1 of course).

Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-08-31 14:42  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-08-31 14:42 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

My initial attempt at using server side prepare didn't seem to work well...but I don't actually need this feature right now, so I have no plans to investigate it further at this time.


-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk]
Sent: Wednesday, August 31, 2005 10:17 AM
To: Scot Loach; Anoop Kumar
Cc: pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 31 August 2005 14:47
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> My mistake, I tried it again and it does seem to be working 
> now - I must not have updated properly for my last compile.

Good. Were there any other issues that you reported that we've missed?

If not, once I've heard how this unicode patch looks from a few people,
I'll rename the driver and push out a new version (I'm keen to get this
done for pgInstaller 8.1 of course).

Regards, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 00:31  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-09-07 00:31 UTC (permalink / raw)
  To: Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc; Dave Page <dpage@vale-housing.co.uk>

I've found a problem with this.
This causes the correct state to be returned on db disconnect, great.
Unfortunately 08S01 is now returned for other errors as well.
For example, trying to insert a row with a duplicate key into a table will cause 08S01 to be returned now, this was not the behavior before.

scot.



-----Original Message-----
From:	Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent:	Wed 8/31/2005 1:51 AM
To:	Scot Loach
Cc:	pgsql-odbc@postgresql.org; Dave Page
Subject:	RE: [ODBC] changed behavior in libpq odbc driver
Hi All,

Please find the patch for the other bug pointed out by Scot. (Thanks to
Sivakumar)

"Another difference is the "state" that is returned from SQLGetDiagRec
when a connection is lost during a query.  This used to return 08S01.
It now returns HY000."

I request you to review this patch as well. 

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Scot Loach
> Sent: Sunday, August 21, 2005 8:31 PM
> To: Marko Ristola
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> Thanks for the clarification, Marko.
> I use ODBC 3.0, so it would seem that this is a bug.
> 
> scot.
> 
> 
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Marko Ristola
> Sent: Sunday, August 21, 2005 10:36 AM
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] changed behavior in libpq odbc driver
> 
> 
> 
> Please check, but ODBC 3 should return SQL_NO_DATA, when
> no data has been updated.
> 
> ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.
> 
> So it depends on the ODBC standard, that the client program chooses.
> 
> Marko Ristola
> 
> Scot Loach wrote:
> 
> >I'm not sure whether the old driver or the new one is correct.
> >
> >When executing an UPDATE query with a WHERE clause, if the WHERE
clause
> does not match any rows, the old driver returns SQL_NO_DATA.  The new
> driver returns SQL_SUCCESS.
> >
> >
> >
> >---------------------------(end of
broadcast)---------------------------
> >TIP 9: In versions below 8.0, the planner will ignore your desire to
> >       choose an index scan if your joining column's datatypes do not
> >       match
> >
> >
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster





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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 07:35  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-09-07 07:35 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 01:32
> To: Anoop Kumar
> Cc: pgsql-odbc@postgresql.org; Dave Page
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> I've found a problem with this.
> This causes the correct state to be returned on db disconnect, great.
> Unfortunately 08S01 is now returned for other errors as well.
> For example, trying to insert a row with a duplicate key into 
> a table will cause 08S01 to be returned now, this was not the 
> behavior before.

That's already fixed in CVS.

http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/connection
.c.diff?r1=1.108&r2=1.109

Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 12:09  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-09-07 12:09 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

I'm pretty sure my driver had that change already.
I'll update and double check though.

-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk]
Sent: Wednesday, September 07, 2005 3:35 AM
To: Scot Loach; Anoop Kumar
Cc: pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 01:32
> To: Anoop Kumar
> Cc: pgsql-odbc@postgresql.org; Dave Page
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> I've found a problem with this.
> This causes the correct state to be returned on db disconnect, great.
> Unfortunately 08S01 is now returned for other errors as well.
> For example, trying to insert a row with a duplicate key into 
> a table will cause 08S01 to be returned now, this was not the 
> behavior before.

That's already fixed in CVS.

http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/connection
.c.diff?r1=1.108&r2=1.109

Regards, Dave.



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 12:23  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-09-07 12:23 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

Hmm, I hope not - the dup key test was the main one I used when testing!

/D 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 13:10
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> I'm pretty sure my driver had that change already.
> I'll update and double check though.
> 
> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Wednesday, September 07, 2005 3:35 AM
> To: Scot Loach; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
>  
> 
> > -----Original Message-----
> > From: Scot Loach [mailto:sloach@sandvine.com] 
> > Sent: 07 September 2005 01:32
> > To: Anoop Kumar
> > Cc: pgsql-odbc@postgresql.org; Dave Page
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> > 
> > I've found a problem with this.
> > This causes the correct state to be returned on db 
> disconnect, great.
> > Unfortunately 08S01 is now returned for other errors as well.
> > For example, trying to insert a row with a duplicate key into 
> > a table will cause 08S01 to be returned now, this was not the 
> > behavior before.
> 
> That's already fixed in CVS.
> 
> http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/
> connection
> .c.diff?r1=1.108&r2=1.109
> 
> Regards, Dave.
> 



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 12:48  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-09-07 12:48 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

so I'm definitely still able to reproduce this problem.
The test I'm running is somewhat complex, I can work on simplifying it.
Maybe the error code is left around from before and not properly cleared?

-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk]
Sent: Wednesday, September 07, 2005 8:23 AM
To: Scot Loach; Anoop Kumar
Cc: pgsql-odbc@postgresql.org
Subject: RE: [ODBC] changed behavior in libpq odbc driver


Hmm, I hope not - the dup key test was the main one I used when testing!

/D 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 13:10
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> I'm pretty sure my driver had that change already.
> I'll update and double check though.
> 
> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Wednesday, September 07, 2005 3:35 AM
> To: Scot Loach; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> 
>  
> 
> > -----Original Message-----
> > From: Scot Loach [mailto:sloach@sandvine.com] 
> > Sent: 07 September 2005 01:32
> > To: Anoop Kumar
> > Cc: pgsql-odbc@postgresql.org; Dave Page
> > Subject: RE: [ODBC] changed behavior in libpq odbc driver
> > 
> > I've found a problem with this.
> > This causes the correct state to be returned on db 
> disconnect, great.
> > Unfortunately 08S01 is now returned for other errors as well.
> > For example, trying to insert a row with a duplicate key into 
> > a table will cause 08S01 to be returned now, this was not the 
> > behavior before.
> 
> That's already fixed in CVS.
> 
> http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/
> connection
> .c.diff?r1=1.108&r2=1.109
> 
> Regards, Dave.
> 



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-07 13:02  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-09-07 13:02 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 13:48
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> so I'm definitely still able to reproduce this problem.
> The test I'm running is somewhat complex, I can work on 
> simplifying it.
> Maybe the error code is left around from before and not 
> properly cleared?

Well the only time the error code should be set is if libpq reports the
connection as being bad, so if you're definitely seeing it, it must be
coming from somewhere else, or you're not checking the error code when
it actually arrives. 

Can you add a mylog line into the relevant part of the fix I posted so
youo can see if the error code is being set somewhen that you don't
otherwise notice?

Regards Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-08 01:38  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-09-08 01:38 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

Ok, I did the check you suggested.
The error code is not getting set at that point in the code.
There must be some other place where it can get set to that.

-----Original Message-----
From:	Dave Page [mailto:dpage@vale-housing.co.uk]
Sent:	Wed 9/7/2005 9:02 AM
To:	Scot Loach; Anoop Kumar
Cc:	pgsql-odbc@postgresql.org
Subject:	RE: [ODBC] changed behavior in libpq odbc driver
 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 13:48
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> so I'm definitely still able to reproduce this problem.
> The test I'm running is somewhat complex, I can work on 
> simplifying it.
> Maybe the error code is left around from before and not 
> properly cleared?

Well the only time the error code should be set is if libpq reports the
connection as being bad, so if you're definitely seeing it, it must be
coming from somewhere else, or you're not checking the error code when
it actually arrives. 

Can you add a mylog line into the relevant part of the fix I posted so
youo can see if the error code is being set somewhen that you don't
otherwise notice?

Regards Dave





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

* Re: changed behavior in libpq odbc driver
@ 2005-09-08 07:34  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 33+ messages in thread

From: Dave Page @ 2005-09-08 07:34 UTC (permalink / raw)
  To: Scot Loach <sloach@sandvine.com>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 08 September 2005 02:39
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> Ok, I did the check you suggested.
> The error code is not getting set at that point in the code.
> There must be some other place where it can get set to that.

Can you send a minimal mylog showing the problem?

Thanks, Dave



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

* Re: changed behavior in libpq odbc driver
@ 2005-09-16 01:53  Scot Loach <sloach@sandvine.com>
  0 siblings, 0 replies; 33+ messages in thread

From: Scot Loach @ 2005-09-16 01:53 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Anoop Kumar <anoopk@pervasive-postgres.com>; +Cc: pgsql-odbc

In LIBPQ_execute_query():

        qres->status = PQresultStatus(pgres);

In the bad primary key case, this returns PGRES_FATAL_ERROR.


Then, in SC_execute():

        /* Check the status of the result */
        if (res)
        {       
                was_ok = QR_command_successful(res);
                was_nonfatal = QR_command_nonfatal(res);
                was_fatal = QR_command_fatal(res);
                
                if (was_ok)
                        SC_set_errornumber(self, STMT_OK);
                else if (was_fatal)
                        SC_set_errornumber(self,STMT_BAD_ERROR);

And STMT_BAD_ERROR is what returns 08S01 when I call SQLGetDiagRec.

I could really use some help with this...



-----Original Message-----
From:	Dave Page [mailto:dpage@vale-housing.co.uk]
Sent:	Wed 9/7/2005 9:02 AM
To:	Scot Loach; Anoop Kumar
Cc:	pgsql-odbc@postgresql.org
Subject:	RE: [ODBC] changed behavior in libpq odbc driver
 

> -----Original Message-----
> From: Scot Loach [mailto:sloach@sandvine.com] 
> Sent: 07 September 2005 13:48
> To: Dave Page; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] changed behavior in libpq odbc driver
> 
> so I'm definitely still able to reproduce this problem.
> The test I'm running is somewhat complex, I can work on 
> simplifying it.
> Maybe the error code is left around from before and not 
> properly cleared?

Well the only time the error code should be set is if libpq reports the
connection as being bad, so if you're definitely seeing it, it must be
coming from somewhere else, or you're not checking the error code when
it actually arrives. 

Can you add a mylog line into the relevant part of the fix I posted so
youo can see if the error code is being set somewhen that you don't
otherwise notice?

Regards Dave





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


end of thread, other threads:[~2005-09-16 01:53 UTC | newest]

Thread overview: 33+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-08-18 01:47 changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-21 14:36 ` Marko Ristola <marko.ristola@kolumbus.fi>
2005-08-18 10:22 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-18 14:03 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-19 00:41 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-21 15:00 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-24 06:16 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-24 09:46 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-25 05:56 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-25 20:33 ` Zoltan Boszormenyi <zboszor@dunaweb.hu>
2005-08-25 08:46 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-30 05:05 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-30 08:54 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-30 09:20 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-30 09:23 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-30 17:56 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-31 04:58 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-31 05:51 Re: changed behavior in libpq odbc driver Anoop Kumar <anoopk@pervasive-postgres.com>
2005-08-31 07:33 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-31 12:52 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-31 13:08 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-31 13:46 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-08-31 14:16 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-08-31 14:42 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-09-07 00:31 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-09-07 07:35 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-09-07 12:09 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-09-07 12:23 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-09-07 12:48 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-09-07 13:02 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-09-08 01:38 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.com>
2005-09-08 07:34 Re: changed behavior in libpq odbc driver Dave Page <dpage@vale-housing.co.uk>
2005-09-16 01:53 Re: changed behavior in libpq odbc driver Scot Loach <sloach@sandvine.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