Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWVLr-0002P7-4K for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Jan 2018 22:48:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWVLq-0005uS-Im for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Jan 2018 22:48:06 +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 1eWVLq-0005uI-4U for pgsql-hackers@lists.postgresql.org; Tue, 02 Jan 2018 22:48:06 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eWVLm-0004bX-U7 for pgsql-hackers@postgresql.org; Tue, 02 Jan 2018 22:48:05 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 89635207B0; Tue, 2 Jan 2018 17:48:00 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 02 Jan 2018 17:48:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+Bq2Qn ovfmFG9iceb3wrIcI/tA0y5tWB72dtV8ZJYgI=; b=lEVpXCiALWBgh4pOG7z5pa nZq0l5cfq5JdUyt1xHN1T7/E4MUsipjIpk0UB5cQEUYFkBpHcalBYULJMtpbQZd4 GwC+rASM/OtCebtA0yF/HNMG6+8xuvURdWWbcdKiMkZ2EmOvU41RLu66n41VWPtJ wcZm9Loy9uJTRbx/FyOvJNJjhRL/ebNZMowK4BYVF2+N+L181ZXODMANP8peFugg 7jXDbTik2kQZic9AbZhjTbYX4DHnshG2Z2Q1AyyFgs4YpDrt216V6RG2vTN0PtRk 2rPYZv1uFx+jw/f/Gbf24uptwtibs/Nn7iLL7HFc5B8VqElEYM6OPRFEsZ8W2crg == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 4622E24466; Tue, 2 Jan 2018 17:48:00 -0500 (EST) Subject: Re: [HACKERS] SQL procedures To: Tom Lane , Robert Haas References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> <9388.1509474184@sss.pgh.pa.us> <11024.1514911665@sss.pgh.pa.us> Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 2 Jan 2018 17:47:50 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <11024.1514911665@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/2/18 11:47, Tom Lane wrote: > +1 --- seems like a new bool column is the thing. Or may we should merge > "proisprocedure" with proisagg and proiswindow into an enum prokind? > Although that would break some existing client-side code. prokind sounds good. I'll look into that. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services