pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Markur Sens <markursens@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Additional accessors via the Extension API ?
Date: Sun, 20 Feb 2022 11:34:45 -0500
Message-ID: <279463.1645374885@sss.pgh.pa.us> (raw)
In-Reply-To: <20220220103508.il2a3fpaeeys3mt3@jrouhaud>
References: <6D4DE1F2-70C9-4BC4-92FD-0699BE0F8952@gmail.com>
	<20220220101257.dchizxpkang7vvq4@jrouhaud>
	<2C9AEE7B-89A0-49F6-AB28-F81AEC9B6078@gmail.com>
	<20220220103508.il2a3fpaeeys3mt3@jrouhaud>

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





view thread (6+ messages)

Message-ID: <279463.1645374885@sss.pgh.pa.us>
Permalink:  ../279463.1645374885@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/279463.1645374885@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rjuju123@gmail.com, markursens@gmail.com
  Subject: Re: Additional accessors via the Extension API ?
  In-Reply-To: <279463.1645374885@sss.pgh.pa.us>
  References: <6D4DE1F2-70C9-4BC4-92FD-0699BE0F8952@gmail.com> <20220220101257.dchizxpkang7vvq4@jrouhaud> <2C9AEE7B-89A0-49F6-AB28-F81AEC9B6078@gmail.com> <20220220103508.il2a3fpaeeys3mt3@jrouhaud> <279463.1645374885@sss.pgh.pa.us>

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

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