git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e6f9539) | patch
Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
Sat, 1 May 2021 14:42:44 +0000 (10:42 -0400)
Sat, 1 May 2021 14:42:44 +0000 (10:42 -0400)
commit 651d005e76bc0b9542615f609b4d0d946035dc58
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
contrib/dblink/expected/dblink.out diff | blob | blame | history
src/backend/utils/adt/datetime.c diff | blob | blame | history
src/interfaces/ecpg/pgtypeslib/interval.c diff | blob | blame | history
src/interfaces/libpq/fe-print.c diff | blob | blame | history
src/test/regress/expected/interval.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /