Commit 691d99d
committed
Docs: improve warnings about nextval() not producing gapless sequences.
In the documentation for nextval(), point out explicitly that INSERT ...
ON CONFLICT will call nextval() if needed for the insertion case, whether
or not it ends up following the ON CONFLICT path. This seems to be a
matter of some confusion, cf bug #14126, so let's be clear about it.
Also mention the issue in the CREATE SEQUENCE reference page, since that
is another place where people might expect such things to be covered.
Minor wording improvements nearby, as well.
Back-patch to 9.5 where ON CONFLICT was introduced.1 parent 7dc1d35 commit 691d99d
2 files changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11512 | 11512 | | |
11513 | 11513 | | |
11514 | 11514 | | |
11515 | | - | |
11516 | | - | |
| 11515 | + | |
| 11516 | + | |
11517 | 11517 | | |
11518 | | - | |
11519 | | - | |
11520 | | - | |
11521 | | - | |
| 11518 | + | |
| 11519 | + | |
| 11520 | + | |
| 11521 | + | |
| 11522 | + | |
| 11523 | + | |
| 11524 | + | |
| 11525 | + | |
| 11526 | + | |
| 11527 | + | |
11522 | 11528 | | |
11523 | 11529 | | |
11524 | 11530 | | |
| |||
11547 | 11553 | | |
11548 | 11554 | | |
11549 | 11555 | | |
11550 | | - | |
11551 | | - | |
| 11556 | + | |
| 11557 | + | |
11552 | 11558 | | |
11553 | 11559 | | |
11554 | 11560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
242 | 252 | | |
243 | 253 | | |
244 | 254 | | |
| |||
0 commit comments