Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9bDX-0006MZ-O2 for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2017 18:24:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e9bDX-00075y-67 for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2017 18:24:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e9bBy-0004Gm-15 for pgsql-hackers@postgresql.org; Tue, 31 Oct 2017 18:23:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e9bBq-0003kW-SY for pgsql-hackers@postgresql.org; Tue, 31 Oct 2017 18:23:13 +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 v9VIN49L009389; Tue, 31 Oct 2017 14:23:04 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: SQL procedures In-reply-to: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Tue, 31 Oct 2017 13:23:03 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9387.1509474184.1@sss.pgh.pa.us> Date: Tue, 31 Oct 2017 14:23:04 -0400 Message-ID: <9388.1509474184@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut writes: > I've been working on SQL procedures. No comment yet on the big picture here, but ... > The provided procedural languages (an ever more > confusing term) each needed a small touch-up to handle pg_proc entries > with prorettype == 0. Putting 0 in prorettype seems like a pretty bad idea. Why not use VOIDOID for the prorettype value? Or if there is some reason why "void" isn't the right pseudotype, maybe you should invent a new one, analogous to the "trigger" and "event_trigger" pseudotypes. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers