Re: Additional accessors via the Extension API ? - Mailing list pgsql-general

From Tom Lane
Subject Re: Additional accessors via the Extension API ?
Date
Msg-id 279463.1645374885@sss.pgh.pa.us
Whole thread Raw
In response to Re: Additional accessors via the Extension API ?  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-general
Julien Rouhaud <rjuju123@gmail.com> writes:
> On Sun, Feb 20, 2022 at 12:31:22PM +0200, Markur Sens wrote:
>> Is this documented & expected behavior or it’s just happens to work?

> I don't think it's documented but it's an expected behavior, see
> https://github.com/postgres/postgres/blob/master/src/backend/parser/parse_func.c#L57-L88

It is documented, near the bottom of this section:

https://www.postgresql.org/docs/current/rowtypes.html#ROWTYPES-USAGE

Other relevant oddities are mentioned in

https://www.postgresql.org/docs/current/xfunc-sql.html#XFUNC-SQL-COMPOSITE-FUNCTIONS

            regards, tom lane



pgsql-general by date:

Previous
From: Carsten Klein
Date:
Subject: Re: Strange results when casting string to double
Next
From: Tom Lane
Date:
Subject: Re: Strange results when casting string to double