Re: [EXT] Re: Get CTID from within an OUTPUT/SEND function

From: Garfield Lewis <garfield(dot)lewis(at)lzlabs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: [EXT] Re: Get CTID from within an OUTPUT/SEND function
Date: 2025-03-05 01:12:13
Message-ID: AM8PR05MB8257FD0C08D242968EB37BE3E3CB2@AM8PR05MB8257.eurprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Garfield Lewis <garfield(dot)lewis(at)lzlabs(dot)com> 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

Thx, Tom

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-03-05 01:13:10 Re: Messages o Terminal
Previous Message Igor Korot 2025-03-05 01:07:23 Messages o Terminal