Re: includedir_internal headers are not self-contained

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: includedir_internal headers are not self-contained
Дата
Msg-id 20140428185115.GG14464@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: includedir_internal headers are not self-contained  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2014-04-28 14:44:16 -0400, Robert Haas wrote:
> > BTW, for the same reasons I'm less than impressed with the uses of
> > relpath in error messages in, eg, reorderbuffer.c:
> >
> >                     relation = RelationIdGetRelation(reloid);
> >
> >                     if (relation == NULL)
> >                         elog(ERROR, "could open relation descriptor %s",
> >                              relpathperm(change->data.tp.relnode, MAIN_FORKNUM));
> >
> > Printing anything other than the relation OID here is irrelevant,
> > misleading, and inconsistent with our practice everywhere else.
> > Let's not even mention the missing "not" in the message text.
> 
> Uggh.

I'll send a fix once I am home (~3h).

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: includedir_internal headers are not self-contained
Следующее
От: Robert Haas
Дата:
Сообщение: Re: includedir_internal headers are not self-contained