Re: Call stacks and RAISE INFO - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Call stacks and RAISE INFO
Date
Msg-id 12475.1318691636@sss.pgh.pa.us
Whole thread Raw
In response to Re: Call stacks and RAISE INFO  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Call stacks and RAISE INFO  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2011/10/15 Robert Haas <robertmhaas@gmail.com>:
>> On Sat, Oct 15, 2011 at 12:24 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>>> I have no problem with this.  A context can be false for info and true
>>> for other in default. Please, use a different identifier than
>>> "context", that can be use for reading context in future - maybe
>>> "attach_context" or some similar.

>> error_context?

> what about show_context, hide_context, hold_context, use_context ??

I still think it should be CONTEXT, period.  All the other options to
RAISE are named directly after the message lines they control; why
should this one be different?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: about EDITOR_LINENUMBER_SWITCH
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: collect frequency statistics for arrays