Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEkPq-0005iu-Se for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2017 23:14:50 +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 1eEkPq-0004Cv-G7 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2017 23:14:50 +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 1eEkPq-0004Cl-AT for pgsql-hackers@lists.postgresql.org; Tue, 14 Nov 2017 23:14:50 +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.89) (envelope-from ) id 1eEkPn-0003Ku-G8 for pgsql-hackers@postgresql.org; Tue, 14 Nov 2017 23:14:49 +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 vAENEjYq021777; Tue, 14 Nov 2017 18:14:45 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: [HACKERS] SQL procedures In-reply-to: <5b643520-59fd-b62a-102c-184e884149c9@2ndquadrant.com> References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> <9388.1509474184@sss.pgh.pa.us> <17774.1510152857@sss.pgh.pa.us> <32ceef13-595d-a698-128c-b90ab9494a52@2ndquadrant.com> <19884.1510676091@sss.pgh.pa.us> <5b643520-59fd-b62a-102c-184e884149c9@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Tue, 14 Nov 2017 17:47:25 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21775.1510701285.1@sss.pgh.pa.us> Date: Tue, 14 Nov 2017 18:14:45 -0500 Message-ID: <21776.1510701285@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 11/14/17 11:14, Tom Lane wrote: >> ... Do we really want the existence of >> a function foo(int) to mean that you can't create a SQL procedure named >> foo and taking one int argument? > Yes, that is defined that way by the SQL standard. Meh. OK, then it has to be one catalog. regards, tom lane