Re: enhanced error fields

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: enhanced error fields
Дата
Msg-id CAFj8pRD9TZjJhfoJmJ2T=pFjEyejPUa34-V_1zY0zn_ydrdEig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: enhanced error fields  (Peter Geoghegan <peter@2ndquadrant.com>)
Ответы Re: enhanced error fields  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
2012/7/23 Peter Geoghegan <peter@2ndquadrant.com>:
> On 18 July 2012 19:13, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> * renamed erritem to err_generic_string
>> * fixed CSVlog generation
>> * new file /utils/error/relerror.c with axillary functions -
>> declarations are in utils/rel.h
>
> Why has this revision retained none of my editorialisations? In
> particular, none of the documentation updates that I made were
> retained.

I am sorry, I can't do merge - I try to use diff but without success,
so I did structure changes and merge with your patch postponed

>
> You also haven't included changes where I attempted to make very large
> ereport statements (often with verbose use of ternary conditionals)
> clearer, nor have you included my adjustments to normalise the
> appearance of new code to be consistent with existing code in various
> ways.
>
> You don't have to agree with all of those things of course, but you
> should have at least commented on them. I didn't spend time cleaning
> things up only to have those changes ignored. I'm particularly
> surprised that the documentation alterations were not retained, as you
> yourself asked me to make those revisions.

again, I am sorry - my last patch should to define structure (files) -
because it was significant topic. When we will find a agreement, then
I'll merge changes messages, comments, doc

>
>         /* file error location */
> -       if (Log_error_verbosity >= PGERROR_VERBOSE)
> +
>         {
>                 StringInfoData msgbuf;
>
>
> Why have you retained the scope here? Couldn't you have just moved the
> single declaration instead?

I am not sure, I have to recheck it.

Regards

Pavel

>
> --
> Peter Geoghegan       http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: embedded list v2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: embedded list v2