| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Fujii Masao <fujii(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pgsql: Avoid using ambiguous word "positive" in error message. |
| Date: | 2021-08-30 14:16:16 |
| Message-ID: | 1349356.1630332976@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2021-08-30 14:19:55 | Re: pgsql: Avoid using ambiguous word "positive" in error message. |
| Previous Message | Robert Haas | 2021-08-30 14:03:39 | Re: pgsql: Avoid using ambiguous word "positive" in error message. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aleksander Alekseev | 2021-08-30 14:19:54 | Patch: shouldn't timezone(text, timestamp[tz]) be STABLE? |
| Previous Message | Tom Lane | 2021-08-30 14:11:22 | Re: Can we get rid of repeated queries from pg_dump? |