Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aDFas-0005La-DM for pgsql-docs@arkaria.postgresql.org; Sun, 27 Dec 2015 17:58:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aDFar-0000AL-Vv for pgsql-docs@arkaria.postgresql.org; Sun, 27 Dec 2015 17:58:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aDFaW-0008DN-2v for pgsql-docs@postgresql.org; Sun, 27 Dec 2015 17:58:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aDFaS-0003QE-7T for pgsql-docs@postgresql.org; Sun, 27 Dec 2015 17:58:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tBRHwUbF001641; Sun, 27 Dec 2015 12:58:30 -0500 From: Tom Lane To: Jeff Janes cc: pgsql-docs@postgresql.org Subject: Re: PLs and pseudo-types In-reply-to: References: Comments: In-reply-to Jeff Janes message dated "Sun, 27 Dec 2015 08:51:52 -0800" Date: Sun, 27 Dec 2015 12:58:30 -0500 Message-ID: <1640.1451239110@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Jeff Janes 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