Re: PL/pgSQL, RAISE and error context

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: PL/pgSQL, RAISE and error context
Дата
Msg-id 5214CDEE.60108@joh.to
обсуждение исходный текст
Ответ на Re: PL/pgSQL, RAISE and error context  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 8/21/13 4:22 PM, Tom Lane wrote:
> Marko Tiikkaja <marko@joh.to> writes:
>> By default, PL/pgSQL does not print the error context of a RAISE
>> statement, for example:
>
> It used to do so, in the beginning when we first added context-printing.
> There were complaints that the result was too verbose; for instance if you
> had a RAISE NOTICE inside a loop for progress-monitoring purposes, you'd
> get two lines for every one you wanted.  I think if we undid this we'd
> get the same complaints again.  I agree that in complicated nests of
> functions the location info is more interesting than it is in trivial
> cases, but that doesn't mean you're not going to hear such complaints from
> people with trivial functions.

They have an option: they can reduce verbosity in their client.  I 
currently don't have any real options.


Regards,
Marko Tiikkaja



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL, RAISE and error context
Следующее
От: "MauMau"
Дата:
Сообщение: [9.3 doc fix] clarification of Solaris versions