Re: PLs and pseudo-types - Mailing list pgsql-docs

From Tom Lane
Subject Re: PLs and pseudo-types
Date
Msg-id 1640.1451239110@sss.pgh.pa.us
Whole thread Raw
In response to  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-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


pgsql-docs by date:

Previous
From: Jeff Janes
Date:
Subject:
Next
From: Ian Barwick
Date:
Subject: Description tweak for vacuumdb