Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
Bruce Momjian <bruce@momjian.us>
Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9 Turns out you can specify negative values using plurals: https://english.stackexchange.com/questions/9735/is-1-followed-by-a-singular-or-plural-noun so the previous code was correct enough, and consistent with other usage in our code. Also add comment in the two places where this could be confused. Reported-by: Noah Misch Diagnosed-by: 20210425115726.GA2353095@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/expected/dblink.out | modified | +3 −3 |
| src/backend/utils/adt/datetime.c | modified | +3 −2 |
| src/interfaces/ecpg/pgtypeslib/interval.c | modified | +3 −2 |
| src/interfaces/libpq/fe-print.c | modified | +2 −2 |
| src/test/regress/expected/interval.out | modified | +11 −11 |