Re: Serial columns and ADO

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
Re: Serial columns and ADO
Дата
Msg-id
455C6F5F.7000203@tpf.co.jp
Ответ на
Re: Serial columns and ADO (Dmitry Samokhin)
Список
Дерево обсуждения
Re: Serial columns and ADO "Dmitriy Ivanov" <divanov-NOSP@M-aha.ru>
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 по дате отправления
От: Ezequias Rodrigues da Rocha
Дата:
От: Stijn Vanroye
Дата:
FAQ