Re: that picksplit debug message again

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: that picksplit debug message again
Дата
Msg-id 1245922566.4038.62.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: that picksplit debug message again  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 2009-06-24 at 01:19 -0400, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Is the %d actually in the right place here?
> > errmsg("picksplit method for %d column of index \"%s\" failed",
> >         attno + 1, RelationGetRelationName(r))
> 
> No, any native speaker of English would say "for column %d".  Putting
> "failed" at the end seems a bit awkward as well, though I can't offhand
> see a better phrasing.  "picksplit method failed for ..." is *not*
> better; it implies there is only one picksplit method for everything,
> whereas the point of the message is that the one associated with this
> column failed.

"has failed"?

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Extensions User Design
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Extensions User Design