X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A95DF9FB3FD for ; Thu, 31 Aug 2006 15:14:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 40258-01-2 for ; Thu, 31 Aug 2006 15:14:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from andromeda1.neonex.com.br (dns3.neonex.com.br [201.28.22.10]) by postgresql.org (Postfix) with ESMTP id C5ED99FB3E6 for ; Thu, 31 Aug 2006 15:14:00 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=planit.com.br ident=mail) by andromeda1.neonex.com.br with esmtp (Exim 4.62) (envelope-from ) id 1GIr3G-0007Dn-QK for pgsql-odbc@postgresql.org; Thu, 31 Aug 2006 15:14:07 -0300 From: "luiz" To: pgsql-odbc@postgresql.org Subject: ODBC v08.02.0100 Date: Thu, 31 Aug 2006 16:14:06 -0200 Message-Id: <20060831174220.M69787@planit.com.br> In-Reply-To: <44F71BC3.9050107@gmx.net> References: <44F70B69.26A47A54@telemetry.co.uk> <44F71BC3.9050107@gmx.net> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 200.168.31.181 (luiz) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/181 X-Sequence-Number: 8145 Hi all, I make some tests with this new version and i notice a diference in the behaviour about the structures of tables returned by queries trough this version and older versions of odbc I'm using Visual FoxPro with postgres 8.1.4. In previous version all fields are marked to accept null values. In this version (8.02.0100) some fields now don't accept null values, seemed to me that now use the same definition of source table structure, like this: CREATE TABLE test ( id serial NOT NULL, fk_test2 int4, field1 char(3) NOT NULL, field2 varchar(10), field3 date ); CREATE TABLE test2 ( id serial NOT NULL, field4 char(3) NOT NULL, field5 char(3) ); SELECT test.* , test2.id as id2 , test2.field4 , test2.field5 from test LEFT OUTER JOIN test2 on test.fk_test2 = test2.id; The fields of resultset will be now this: id int4 NOT NULL fk_test2 int4 field1 char(3) NOT NULL field2 varchar(10) field3 date id2 int4 NOT NULL field4 char(3) NOT NULL field5 char(3) with odbc version 8.01.0200 all fields accept null values. I'm not sure about what is the correct behaviour, but this can be considered as a bug in the new version ? Thanks in Advance Luiz