Re: PLs and pseudo-types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: PLs and pseudo-types
Date: 2015-12-27 17:58:30
Message-ID: 1640.1451239110@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Jeff Janes <jeff(dot)janes(at)gmail(dot)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

In response to

  • at 2015-12-27 16:51:52 from Jeff Janes

Browse pgsql-docs by date

  From Date Subject
Next Message Ian Barwick 2016-01-04 02:05:40 Description tweak for vacuumdb
Previous Message Jeff Janes 2015-12-27 16:51:52