From: Benjamin S. <sch...@pr...> - 2003-04-28 00:03:46
|
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" <bil...@mu...> 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. |