From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: SQL procedures
Date: Wed, 08 Nov 2017 09:54:17 -0500
Message-ID: <17774.1510152857@sss.pgh.pa.us> (raw)
In-Reply-To: <f2b2ac79-f7d0-e736-ac12-50a103d0dcbd@2ndquadrant.com>
References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com>
<9388.1509474184@sss.pgh.pa.us>
<f2b2ac79-f7d0-e736-ac12-50a103d0dcbd@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 10/31/17 14:23, Tom Lane wrote:
>> Why not use VOIDOID for the prorettype value?
> We need a way to distinguish functions that are callable by SELECT and
> procedures that are callable by CALL.
Do procedures of this ilk belong in pg_proc at all? It seems like a large
fraction of the attributes tracked in pg_proc are senseless for this
purpose. A new catalog might be a better approach.
In any case, I buy none of your arguments that 0 is a better choice than a
new pseudotype.
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
Subject: Re: SQL procedures
In-Reply-To: <17774.1510152857@sss.pgh.pa.us>
References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> <9388.1509474184@sss.pgh.pa.us> <f2b2ac79-f7d0-e736-ac12-50a103d0dcbd@2ndquadrant.com> <17774.1510152857@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox