From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1010303 ] Incorrect data type with domains
Date: Tue, 26 Feb 2008 15:33:44 +0000 (UTC)
Message-ID: <20080226153344.D484417ADCD8@pgfoundry.org> (raw)
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
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1010303 ] Incorrect data type with domains
In-Reply-To: <20080226153344.D484417ADCD8@pgfoundry.org>
References: <20080226153344.D484417ADCD8@pgfoundry.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