Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 62B142E009C for ; Tue, 26 Feb 2008 11:33:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 04681-08 for ; Tue, 26 Feb 2008 11:33:44 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id BE8192E009A for ; Tue, 26 Feb 2008 11:33:53 -0400 (AST) Received: from localhost (unknown [200.46.204.191]) by pgfoundry.org (Postfix) with ESMTP id 33FD317ADCDE; Tue, 26 Feb 2008 15:33:54 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 10489-02; Tue, 26 Feb 2008 11:33:43 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id D484417ADCD8; Tue, 26 Feb 2008 15:33:44 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1010303 ] Incorrect data type with domains Content-type: text/plain; charset=UTF-8 Message-Id: <20080226153344.D484417ADCD8@pgfoundry.org> Date: Tue, 26 Feb 2008 15:33:44 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/54 X-Sequence-Number: 9406 Bugs item #1010303, was opened at 26-02-2008 03:59 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010303&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Luiz Matsumura (luizkm) Assigned to: Nobody (None) Summary: Incorrect data type with domains Initial Comment: Environment psqlODBC 8.03.100 Postgres 8.3 Visual FoxPro 9.0 CREATE DOMAIN test_domain AS numeric(12,4) DEFAULT 0 NOT NULL; CREATE TABLE test_table ( id serial NOT NULL, field2 test_domain ); Then try to retrieve data from test_table: SELECT * FROM test_table; field2 is returned with incorrect size and precision. Mylog e commlog atached P.S.: psqlODBC 8.01.200 return correct result. Thanks in advance ---------------------------------------------------------------------- >Comment By: Luiz Matsumura (luizkm) Date: 26-02-2008 15:33 Message: Hi, I research a little and think that this can help It´s based on information_squema.columns view ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010303&group_id=1000125