dabo Commit
Revision 5631
Date: 2010-02-03 13:25:13 -0800 (Wed, 03 Feb 2010)
Author: Johnf
Trac: http://trac.dabodev.com/changeset/5631
Changed:
U trunk/dabo/db/dbPostgreSQL.py
Log:
had two float4's and had missed float8
Diff:
Modified: trunk/dabo/db/dbPostgreSQL.py
===================================================================
--- trunk/dabo/db/dbPostgreSQL.py 2010-02-03 19:05:00 UTC (rev 5630)
+++ trunk/dabo/db/dbPostgreSQL.py 2010-02-03 21:25:13 UTC (rev 5631)
@@ -168,7 +168,7 @@
" AND has_table_privilege(c.oid, 'select')"
" ORDER BY c.relname, a.attname")
cursor.execute(' '.join(sql))
- fldTypeDict= {"int4":"I", "int8":"I", "int2":"I","varchar":
"C", "char": "C",'bpchar': 'C', "bool":"B", "text": "M", "numeric":"N",
"double":"F", "real":"F","float4":"F", "float4":"F", "datetime":"T",
"timestamp":"T", "date": "D","bytea": "L", "point":"C", "box":"C",
"circle":"C", "lseg":"C", "polygon":"C", "path":"C","oid":"I"}
+ fldTypeDict= {"int4":"I", "int8":"I", "int2":"I","varchar":
"C", "char": "C",'bpchar': 'C', "bool":"B", "text": "M", "numeric":"N",
"double":"F", "real":"F","float4":"F", "float8":"F", "datetime":"T",
"timestamp":"T", "date": "D","bytea": "L", "point":"C", "box":"C",
"circle":"C", "lseg":"C", "polygon":"C", "path":"C","oid":"I"}
fields = []
for r in cursor.getDataSet():
name = r["attname"].strip()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]