Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Serial columns and ADO



Hiroshi-san,
I've tried your snapshot (8.2.0201) and found no difference in behaviour. It 
sends 'SELECT 0' as before. Is it really corrected in the snapshot? Maybe I 
have incorrect driver settings. Which ones affect most of all?
Dmitry.


"Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp> wrote in message 
news:4553CAC6(dot)5020001(at)tpf(dot)co(dot)jp(dot)(dot)(dot)
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group