Re: PL/pgSQL Todo, better information in errcontext from

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: PL/pgSQL Todo, better information in errcontext from
Дата
Msg-id 4523E724.2030705@logix-tt.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL Todo, better information in errcontext from plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PL/pgSQL Todo, better information in errcontext from plpgsql  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-hackers
Hi, Tom,

Tom Lane wrote:

>> I miss some info in context: function's oid, function's argumenst and
>> schema. Maybe:
>
>> 199292 function public.foo(int, int, int) language plpgsql statement return
>> line 10
>
> Putting the OID there is a seriously awful idea, not least because it
> would make it impossible to have stable regression-test outputs.
>
> I'm not really convinced that we need more than the function name.

I also think that the OID will hurt here, but schema and argument types
may be useful in some corner cases.

Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] qsort_arg needed for msvc build
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] qsort_arg needed for msvc build