pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: PLs and pseudo-types
Date: Sun, 27 Dec 2015 12:58:30 -0500
Message-ID: <1640.1451239110@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMkU=1xqebsAJk0RmJVM1wuMmJQcc_eLeyJqHuy-m8EErAMVOA@mail.gmail.com>
References: <CAMkU=1xqebsAJk0RmJVM1wuMmJQcc_eLeyJqHuy-m8EErAMVOA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

Jeff Janes <jeff.janes@gmail.com> writes:
> According to the documentation:
> http://www.postgresql.org/docs/9.5/static/datatype-pseudo.html

> At present the procedural languages all forbid use of a pseudo-type as
> argument type, and allow only void and record as a result type (plus
> trigger when the function is used as a trigger).

> However, pl/perl has accepted "record" as in argument type since 9.1.

I'm inclined to just change this to weasel wording like "forbid use of
most pseudo-types".  The odds of remembering to update this para when
individual PLs change behavior seem poor.

			regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



Message-ID: <1640.1451239110@sss.pgh.pa.us>
Permalink:  ../1640.1451239110@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1640.1451239110@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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff.janes@gmail.com
  Subject: Re: PLs and pseudo-types
  In-Reply-To: <1640.1451239110@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