Re: pgsql: Avoid using ambiguous word "positive" in error message.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Avoid using ambiguous word "positive" in error message.
Дата
Msg-id CA+TgmoYb=v5A0nK04ZZ4ejDPiphHAbKSqBZf+LUqO+_+qfnZvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Avoid using ambiguous word "positive" in error message.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Avoid using ambiguous word "positive" in error message.  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Mon, Aug 30, 2021 at 10:16 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > The new style seems good, but I don't really agree that "positive" and
> > "non-negative" are ambiguous. "positive" means >0 and "non-negative"
> > means >= 0, because 0 is neither positive nor negative.
>
> Well, the point is precisely that not everyone makes that distinction.
> I agree that everyone will read "non-negative" as ">= 0"; but there's
> a fair percentage of the population that uses "positive" the same way.

The mathematician in me recoils.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Patch: shouldn't timezone(text, timestamp[tz]) be STABLE?
Следующее
От: Denis Smirnov
Дата:
Сообщение: Re: Async-unsafe functions in signal handlers