Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME
Дата
Msg-id bbb44ce3-369b-586d-3206-185a358a2f99@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: AS OF queries
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] SQL procedures