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

Re: Serial columns and ADO

From: "Dmitry Samokhin" <sdld(at)mail(dot)ru>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Serial columns and ADO
Date: 2006-11-13 09:24:09
Message-ID: ej9djc$1imc$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-odbc
>> 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. 



In response to

Responses

pgsql-odbc by date

Next:From: Jiří NouzaDate: 2006-11-13 13:06:14
Subject: odbc log
Previous:From: Hiroshi InoueDate: 2006-11-13 09:21:17
Subject: Re: Curious Join issue causing an E_FAIL error (with odbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group