Unix Technical Forum

Re: psqlODBC 08.00.0102 available for download

This is a discussion on Re: psqlODBC 08.00.0102 available for download within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Thanks Anoop. Actually I think the old driver always returned 0 for select statements too, so the behavior should ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:20 AM
Scot Loach
 
Posts: n/a
Default Re: psqlODBC 08.00.0102 available for download

Thanks Anoop.
Actually I think the old driver always returned 0 for select statements too, so the behavior should now be consistent.

scot.


-----Original Message-----
From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
Sent: Friday, August 12, 2005 2:11 AM
To: Dave Page; Scot Loach; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] psqlODBC 08.00.0102 available for download


Hi Scot,

I am attaching a patch to solve the SQLRowCount() issue you have faced.
This should enable you to get the number of rows affected by an
INSERT/DELETE or UPDATE operation.

The old odbc driver returned the number of rows after a select
statement. Now the libpq enabled version returns a zero.

Regards

Anoop


> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailtogsql-odbc-
> owner@postgresql.org] On Behalf Of Dave Page
> Sent: Thursday, August 11, 2005 1:59 PM
> To: Scot Loach; pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] psqlODBC 08.00.0102 available for download
>
>
>
> > -----Original Message-----
> > From: Scot Loach [mailto:sloach@sandvine.com]
> > Sent: 11 August 2005 03:56
> > To: Dave Page; pgsql-odbc@postgresql.org
> > Subject: RE: [ODBC] psqlODBC 08.00.0102 available for download
> >
> > I finally got around to giving the new driver a try.
> >
> > There's one major problem I'm running into. Specifically,
> > the SQLRowCount() function doesn't work with the libpq

implementation.
> >
> > Can anyone comment on this?

>
> I'll investigate....
>
> /D
>
> ---------------------------(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 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com