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

From Tom Lane
Subject Re: Get CTID from within an OUTPUT/SEND function
Date
Msg-id 213107.1741134784@sss.pgh.pa.us
Whole thread Raw
In response to Get CTID from within an OUTPUT/SEND function  (Garfield Lewis <garfield.lewis@lzlabs.com>)
Responses Re: [EXT] Re: Get CTID from within an OUTPUT/SEND function
List pgsql-general
Garfield Lewis <garfield.lewis@lzlabs.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



pgsql-general by date:

Previous
From: Garfield Lewis
Date:
Subject: Get CTID from within an OUTPUT/SEND function
Next
From: Garfield Lewis
Date:
Subject: Re: [EXT] Re: Get CTID from within an OUTPUT/SEND function