Re: Bugs related to getting @@identity

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Christian Ullrich <chris(at)chrullrich(dot)net>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Bugs related to getting @@identity
Date: 2015-07-31 21:33:15
Message-ID: 55BBE99B.7050609@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
identity-test.patch application/x-patch 2.3 KB

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Christian Ullrich 2015-07-31 22:15:57 Re: Bugs related to getting @@identity
Previous Message Christian Ullrich 2015-07-31 18:30:50 Bugs related to getting @@identity