pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Thu, 16 Nov 2006 23:02:07 +0900
Message-ID: <455C6F5F.7000203@tpf.co.jp> (raw)
In-Reply-To: <ej9djc$1imc$1@news.hub.org>
References: <E1Gi7Ct-0004cO-00.sdld-mail-ru@f76.mail.ru>
	<4553CAC6.5020001@tpf.co.jp>
	<ej1ghi$1sa8$1@news.hub.org>
	<4554463D.6000301@tpf.co.jp>
	<ej1tlg$6km$1@news.hub.org>
	<45549258.9010802@tpf.co.jp>
	<4557B1C5.1030200@tpf.co.jp>
	<ej9djc$1imc$1@news.hub.org>

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




view thread (11+ messages)  latest in thread

Message-ID: <455C6F5F.7000203@tpf.co.jp>
Permalink:  ../455C6F5F.7000203@tpf.co.jp/
Also on:    postgresql.org/message-id/455C6F5F.7000203@tpf.co.jp

 · 

reply

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: <455C6F5F.7000203@tpf.co.jp>
  References: <E1Gi7Ct-0004cO-00.sdld-mail-ru@f76.mail.ru> <4553CAC6.5020001@tpf.co.jp> <ej1ghi$1sa8$1@news.hub.org> <4554463D.6000301@tpf.co.jp> <ej1tlg$6km$1@news.hub.org> <45549258.9010802@tpf.co.jp> <4557B1C5.1030200@tpf.co.jp> <ej9djc$1imc$1@news.hub.org> <455C6F5F.7000203@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