Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME
Date
Msg-id bbb44ce3-369b-586d-3206-185a358a2f99@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 12/31/17 11:57, Tom Lane wrote:
> 3. In connection with #2, I'm dubious that FUNCTION_NAME is le mot
> juste, because that would seem to imply that it is just the name,
> which it isn't.  If we stick with the regprocedureout semantics
> I'd be inclined to propose FUNCTION_SIGNATURE.

The SQL standard has diagnostics items ROUTINE_CATALOG, ROUTINE_SCHEMA,
ROUTINE_NAME, which are used when there is an error invoking another
routine.  Using notionally similar FUNCTION_* keys to mean my own
function seems pretty confusing (and also of questionable usefulness, as
you have commented).

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: AS OF queries
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] SQL procedures