Re: pyPgSQL/Quixote data cursor browse form
Benjamin Scherrey <[email protected]>
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Organization | Proteus Technologies, Inc. |
| Message-ID | <HBDCRM6Z2FHCUP43TSZWE042KHYTJG.3eac6fd3@bonzoii> |
Ah... thanx Bill. Now I'm trying to figure out how to identify that it's a numeric type from the description. I know the right field to compare (description[1]), just not how to make the comparison... hazzards of weak-typed languages I guess. I know this is gonna be one of those stupidly easy things... best regards, Ben Scherrey 4/27/2003 7:48:42 PM, "Billy G. Allie" <[email protected]> wrote: >Ben, > >The [intrnal] size of an integer is always 4 bytes for an integer (a 32 >bit value). The display size for an Integer can be up to 10 >charachters, but PostgreSQL no longer returns the display size. Other >numberic fields (float, int8, int2) will have fixed sizes representing >the number of bytes used to store the value internally in the database. > >I hope this clears up the issue. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf