isNumeric function?

From: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: isNumeric function?
Date: 2004-07-26 13:52:28
Message-ID: 08178841-DF0B-11D8-BC31-000393779D9C@eku.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Is there a (relatively) simple way to tell if a column
is a "numeric" type other than comparing against the
seven or so oids which may or may not be the complete
list of things genererally considered to be numeric?

I need this info to determine whether or not to justify
left or right in a data display.

Thanks

Jerry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoff Caplan 2004-07-26 14:16:28 Re: Sql injection attacks
Previous Message Doug McNaught 2004-07-26 13:45:25 Re: Sql injection attacks