Get CTID from within an OUTPUT/SEND function - Mailing list pgsql-general

From Garfield Lewis
Subject Get CTID from within an OUTPUT/SEND function
Date
Msg-id AM8PR05MB8257C674219A37B2116E111AE3C82@AM8PR05MB8257.eurprd05.prod.outlook.com
Whole thread Raw
Responses Re: Get CTID from within an OUTPUT/SEND function
List pgsql-general

I would like to know if it is possible to get the CTID from within the OUTPUT and SEND functions of a CREATE TYPE? I’ve found a function called currtid_byrelname and the comment in the function prolog says it is to get a CTID but I cannot find any example usage of it.

 

Regards,

Garfield

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Version compatibility
Next
From: Tom Lane
Date:
Subject: Re: Get CTID from within an OUTPUT/SEND function