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

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: How to get the real type use oid in internal codes?
Date: 2023-03-10 11:18:09
Message-ID: 89e3b188-b927-8507-dd3d-a4e039c214d3@enterprisedb.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10.03.23 06:33, jacktby(at)gmail(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-03-10 11:30:53 Re: Add macros for ReorderBufferTXN toptxn
Previous Message Peter Eisentraut 2023-03-10 11:17:09 Re: Date-Time dangling unit fix