Re: Disallow premature is broken - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: Disallow premature is broken
Date
Msg-id 20060127223839.GA21342@soptik.pzkagis.cz
Whole thread Raw
In response to Re: Disallow premature is broken  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Disallow premature is broken  (Dave Page <dpage@vale-housing.co.uk>)
List pgsql-odbc
Fri, Jan 27, 2006 at 09:39:05AM -0000, Dave Page wrote:
> >   What do you think? How do we want change the behaviout before
> > releasing new stable release? I'm not sure. There is no much time
> > for testing new behaviour. The multistatements hasn't been reported
> > yet by users. It seems this feature isn't widely used.
>
> In the short term though, I say just stop it crashing and let's get a
> release out seeing as Tom is getting antsy about FC5 :-)

Here is the patch. I'll include it into 08.01.0108 dev snapshot.
psqlodbc doesn't fall down on exception when "Disallow premature"
is checked and: SQLPrepare, SQLNumResultCols is called.
The SQLNumResultCols returns SQLSTATE HY0000 with message like
No result was returned by the query.

Please review and comment

Regards,

Luf

Attachment

pgsql-odbc by date:

Previous
From: Dave Page
Date:
Subject: Re: faq?
Next
From: Ludek Finstrle
Date:
Subject: Re: faq?