Re: ECPG bug: allocate descriptor does not clear sqlcode - Mailing list pgsql-interfaces

From Christof Petig
Subject Re: ECPG bug: allocate descriptor does not clear sqlcode
Date
Msg-id 3C3EE6DB.1070108@petig-baender.de
Whole thread Raw
In response to ECPG bug: allocate descriptor does not clear sqlcode  (Christof Petig <christof@petig-baender.de>)
Responses Re: ECPG bug: allocate descriptor does not clear sqlcode  (Michael Meskes <meskes@postgresql.org>)
List pgsql-interfaces
Christof Petig wrote:

> I'll prepare a patch.
>
>    Christof

Here it is:


clear sqlca on : [de]allocate descriptor  & get descriptor
and set sqlca.sqlerrd[2] accordingly.

Yours
   Christof

PS: One can easily count this as a bugfix. So applying in RC should be ok.

Attachment

pgsql-interfaces by date:

Previous
From: Tim Nelson
Date:
Subject: ecpg aborts with structure reference
Next
From: Michael Meskes
Date:
Subject: Re: ECPG bug: allocate descriptor does not clear sqlcode