Re: Bugs related to getting @@identity - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Bugs related to getting @@identity
Date
Msg-id 55BBE99B.7050609@iki.fi
Whole thread Raw
In response to Bugs related to getting @@identity  (Christian Ullrich <chris@chrullrich.net>)
Responses Re: Bugs related to getting @@identity  (Christian Ullrich <chris@chrullrich.net>)
List pgsql-odbc
On 07/31/2015 09:30 PM, Christian Ullrich wrote:
> Hello,
>
> as there have been ominous rumblings lately about making another
> release, I wanted to remind you that I reported two bugs on 23 April.
> One breaks @@identity entirely [1], the other makes it unreliable with
> INSERTs into schema-qualified tables [2].
>
> I provided a patch for the second, but there has been no feedback at
> all, and it is possible that the first bug is not real but a mistake I
> made in building the driver from source.
>
> [1] http://www.postgresql.org/message-id/mhaknj$e4g$1@ger.gmane.org
> [2] http://www.postgresql.org/message-id/mhalik$s8k$1@ger.gmane.org

How do you use @@identity? I don't know what the idiomatic way to use it is.

I wrote a little test case for it, see attached patch. But it runs OK
with a fresh git checkout. Could you modify/expand this test case to
tickle the bugs you're seeing?

- Heikki


Attachment

pgsql-odbc by date:

Previous
From: Christian Ullrich
Date:
Subject: Bugs related to getting @@identity
Next
From: Christian Ullrich
Date:
Subject: Re: Bugs related to getting @@identity