Thread: How to get the real type use oid in internal codes?

How to get the real type use oid in internal codes?

From
"jacktby@gmail.com"
Date:

I can use relation struct  to get all attributes' typeoid, so which funcion I can use
to get the real type.

jacktby@gmail.com

Re: How to get the real type use oid in internal codes?

From
Peter Eisentraut
Date:
On 10.03.23 06:33, jacktby@gmail.com wrote:
> I can use relation struct  to get all attributes' typeoid, so which 
> funcion I can use
> to get the real type.

Depends on what you mean by "real", but perhaps the format_type* family 
of functions would help you.