public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Garfield Lewis <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Get CTID from within an OUTPUT/SEND function
Date: Tue, 04 Mar 2025 19:33:04 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <AM8PR05MB8257C674219A37B2116E111AE3C82@AM8PR05MB8257.eurprd05.prod.outlook.com>
References: <AM8PR05MB8257C674219A37B2116E111AE3C82@AM8PR05MB8257.eurprd05.prod.outlook.com>

Garfield Lewis <[email protected]> writes:
> I would like to know if it is possible to get the CTID from within
> the OUTPUT and SEND functions of a CREATE TYPE?

No.  A datatype output function has no reason to expect that the value
it's handed has ever been in a table at all.

			regards, tom lane






view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Get CTID from within an OUTPUT/SEND function
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox