From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Dmitry Samokhin <sdld@mail.ru>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Serial columns and ADO
Date: Fri, 10 Nov 2006 09:41:42 +0900
Message-ID: <4553CAC6.5020001@tpf.co.jp> (raw)
In-Reply-To: <E1Gi7Ct-0004cO-00.sdld-mail-ru@f76.mail.ru>
References: <E1Gi7Ct-0004cO-00.sdld-mail-ru@f76.mail.ru>
Dmitry Samokhin wrote:
> As far as I understand, since the driver exposes 'serial' columns
> as 'AutoNumber', ADO issues 'SELECT @@IDENTITY' to retreive the new
> generated values just after inserts. The driver, in turn, has to modify that
> query into 'SELECT currval(...)'.
>
> When working with PG tables from inside MS Access, it all works perfectly!
> But here is a small test suite that doesn't work as expected:
Please try the snapshot dll at
http://www.geocities.jp/inocchichichi/psqlodbc/index.html
.
regards,
Hiroshi Inoue
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: inoue@tpf.co.jp, sdld@mail.ru
Subject: Re: Serial columns and ADO
In-Reply-To: <4553CAC6.5020001@tpf.co.jp>
References: <E1Gi7Ct-0004cO-00.sdld-mail-ru@f76.mail.ru> <4553CAC6.5020001@tpf.co.jp>
* 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