Unix Technical Forum

Re: Some changes

This is a discussion on Re: Some changes within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Ludek Finstrle [mailto:luf@pzkagis.cz] > Sent: 02 December 2005 14:38 > To: Dave Page > ...


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:36 AM
Dave Page
 
Posts: n/a
Default Re: Some changes



> -----Original Message-----
> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
> Sent: 02 December 2005 14:38
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Some changes
>
> > The attached patch clears out any parameters during SQLCancel. This
> > works for the test case, and seems to not hurt any of my

> apps that I've
> > quickly tested. I definitely want some feedback before I apply this
> > though please :-)

>
> I see (endly) ODBC specification and it's ok to free all parameters
> when SQLCancel is called during awaiting data (SQL_NEED_DATA).
> Only comment in patch is little bit strenge.
>
> I have to more study ODBC specification. It's mine bottleneck.


And mine :-(. I'm pretty sure the patch is within the spec though (and
frankly, I'm more concerned that the driver works as most popular
applications expect than 100% to the spec which is pretty much the line
taken by previous maintainers).

Anyhoo, please let me know if you think it's good to apply when you've
taken a look at it - I'd appreciate the feedback on this one!

Regards, Dave

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

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 02:36 AM
Ludek Finstrle
 
Posts: n/a
Default Re: Some changes

> > Only comment in patch is little bit strenge.

I'm sorry. I post only second part of my reviewing the patch.

> Anyhoo, please let me know if you think it's good to apply when you've
> taken a look at it - I'd appreciate the feedback on this one!


It looks good to me except the comment. SQLFreeStmt do the freeing
bind params same way as you implement in SQLCancel. This is better
way.

I try create first development snapshot yesterday. I didn't announce it.
Do you agree I add this patch to the snapshot and re-release it
with announcement here? So more people can test it.

Thanks

Luf

---------------------------(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 06:15 PM.


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