Re: Serial columns and ADO - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Serial columns and ADO
Date
Msg-id 455C6F5F.7000203@tpf.co.jp
Whole thread Raw
In response to Re: Serial columns and ADO  ("Dmitry Samokhin" <sdld@mail.ru>)
List pgsql-odbc
Dmitry Samokhin wrote:
>>> Could you try to set the Extra Opts option to 0x2 ?
>>>
>> With the current snapshot, please.
>> I was able to reproduce the behavior here.
>>
>> regards,
>> Hiroshi Inoue
>>
>
> OK, now it works! Thanks for your attention.
> But with Extra Opts = 0x0 it still issues 'SELECT 0' and assignes 0 to an
> identity field. IMHO, if I don't want to read any server-assigned defaults
> for a newly inserted row, any field not set explicitly should contain NULL
> both before and after insert operation, not 0.
>

OK try the snapshot dll.
0x2 Extra Opts option is no longer needed for the case.
Also changed to SELECT NULL in case of failure.

regards,
Hiroshi Inoue


pgsql-odbc by date:

Previous
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: Apoie o estudo das células tronco
Next
From: Stijn Vanroye
Date:
Subject: Re: Curious Join issue causing an E_FAIL error (with odbc version