Decimal
Antonio Prado <antonio-m7WKv7+duuT/[email protected]> Tue, 13 Apr 2010 16:10:09 -0300
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello! Using psycopg2 to connect as PostgreSQL, when set cur = conn.cursor (cursor_factory = psycopg2.extras.DictCursor) is returning data in decimal format. In my database I have numeric and decimal types. How to always return Float or Integer, equal in psycopg1? Thanks Antonio.