Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Odbc > [ psqlodbc-Bugs...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2295 of 2443
Post > Topic >>

[ psqlodbc-Bugs-1010303 ] Incorrect data type with domains

by noreply@[EMAIL PROTECTED] Feb 26, 2008 at 03:33 PM

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
 




 1 Posts in Topic:
[ psqlodbc-Bugs-1010303 ] Incorrect data type with domains
noreply@[EMAIL PROTECTED]  2008-02-26 15:33:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:47:31 CST 2008.