Travis Bauer <[EMAIL PROTECTED]> writes:
> Is this the mod field of the Field class in JDBC2?
Sounds right, but I haven't looked at the JDBC code.
> Does -1 alway mean, for
> numeric types, that the precision is undefined?
Right. In general, -1 is the default typmod if Postgres doesn't have
any better idea what to put in. So type-specific code always has to
be prepared to do something reasonable with that typmod value ...
regards, tom lane
- [GENERAL] Precision of calculated numeric fields Travis Bauer
- Re: [GENERAL] Precision of calculated numeric fields Tom Lane
- Re: [GENERAL] Precision of calculated numeric fields Travis Bauer
- Tom Lane
