From: Dmitry Samokhin <sdld@mail.ru>
To: pgsql-odbc@postgresql.org
Subject: Re: Serial columns and ADO
Date: Mon, 13 Nov 2006 12:24:09 +0300
Message-ID: <ej9djc$1imc$1@news.hub.org> (raw)
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>
>> 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.
Regards,
Dmitry.
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: sdld@mail.ru
Subject: Re: Serial columns and ADO
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>
* 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