Re: pgsql: Avoid using ambiguous word "positive" in error message. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Avoid using ambiguous word "positive" in error message.
Date
Msg-id 1349356.1630332976@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Avoid using ambiguous word "positive" in error message.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pgsql: Avoid using ambiguous word "positive" in error message.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Avoid using ambiguous word "positive" in error message.
Next
From: Aleksander Alekseev
Date:
Subject: Patch: shouldn't timezone(text, timestamp[tz]) be STABLE?