pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@vale-housing.co.uk>
To: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Disallow premature is broken
Date: Sat, 28 Jan 2006 21:25:58 +0000
Message-ID: <C00191E6.49FC%dpage@vale-housing.co.uk> (raw)
In-Reply-To: <20060127223839.GA21342@soptik.pzkagis.cz>




On 27/1/06 22:38, "Ludek Finstrle" <luf@pzkagis.cz> wrote:

> 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

Looks like a perfectly fine temporary fix.

Regards, Dave.




view thread (8+ messages)

Message-ID: <C00191E6.49FC%dpage@vale-housing.co.uk>
Permalink:  ../C00191E6.49FC%25dpage@vale-housing.co.uk/
Also on:    postgresql.org/message-id/C00191E6.49FC%dpage@vale-housing.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dpage@vale-housing.co.uk, luf@pzkagis.cz
  Subject: Re: Disallow premature is broken
  In-Reply-To: <C00191E6.49FC%dpage@vale-housing.co.uk>
  References: <20060127223839.GA21342@soptik.pzkagis.cz> <C00191E6.49FC%dpage@vale-housing.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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