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

Started by jacktby@gmail.comalmost 3 years ago2 messages
#1jacktby@gmail.com
jacktby@gmail.com

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

jacktby@gmail.com

#2Peter Eisentraut
peter.eisentraut@enterprisedb.com
In reply to: jacktby@gmail.com (#1)
Re: How to get the real type use oid in internal codes?

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.