Re: How to know the type of an expression ? - Mailing list pgsql-general

From Albe Laurenz
Subject Re: How to know the type of an expression ?
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380B2D9B63@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to How to know the type of an expression ?  (maa1666@yahoo.fr)
List pgsql-general
> Is there a means to know the type of an expression ?
> Something like a "typeof" function ?
>
> As I work a lot with numbers of type "numeric", I often want to know
> the precision of the result returned by an expression, in case the
> returned result is "numeric".
> I would also like to know if numbers of type "numeric" have not been
> silently converted to "double precision" somewhere in the expression.

Which API are you using?

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Peter Wilson
Date:
Subject: Re: Replicating changes
Next
From: Alexander Staubo
Date:
Subject: Re: postgresql books and convertion utilities