diff options
| author | Bruce Momjian | 2021-05-01 14:42:44 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2021-05-01 14:42:44 +0000 |
| commit | 651d005e76bc0b9542615f609b4d0d946035dc58 (patch) | |
| tree | 091685dde4a23011030907d96d49b8749417cc78 /contrib/dblink | |
| parent | e6f9539dc32473793c03cbe95bc099ee0a199c73 (diff) | |
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
Diffstat (limited to 'contrib/dblink')
| -rw-r--r-- | contrib/dblink/expected/dblink.out | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dblink/expected/dblink.out b/contrib/dblink/expected/dblink.out index 33ceaddd89c..6516d4f1313 100644 --- a/contrib/dblink/expected/dblink.out +++ b/contrib/dblink/expected/dblink.out @@ -1099,9 +1099,9 @@ SELECT * FROM dblink('myconn', 'SELECT * FROM (VALUES (''-1 2:03:04'')) i') AS i(i interval); - i ------------------- - -1 day -02:03:04 + i +------------------- + -1 days -02:03:04 (1 row) -- Try swapping to another format to ensure the GUCs are tracked |
