Commit 97d4262
committed
doc: Improve a couple of places in the MERGE docs.
In the synopsis, make the syntax for merge_update consistent with the
syntax for a plain UPDATE command. It was missing the optional "ROW"
keyword that can be used in a multi-column assignment, and the option
to assign from a multi-column subquery, both of which have been
supported by MERGE since it was introduced.
In the parameters section for the with_query parameter, mention that
WITH RECURSIVE isn't supported, since this is different from plain
INSERT, UPDATE, and DELETE commands. While at it, move that entry to
the top of the list, for consistency with the other pages.
Back-patch to v15, where MERGE was introduced.
Discussion: https://postgr.es/m/CAEZATCWoQyWkMFfu7JXXQr8dA6%3DgxjhYzgpuBP2oz0QoJTxGWw%40mail.gmail.com1 parent a3da95d commit 97d4262Copy full SHA for 97d4262
File tree
Expand file treeCollapse file tree
1 file changed
+28
-8
lines changedOpen diff view settings
Filter options
- doc/src/sgml/ref
Expand file treeCollapse file tree
1 file changed
+28
-8
lines changedOpen diff view settings
Collapse file
doc/src/sgml/ref/merge.sgml
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/merge.sgml+28-8Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
| 47 | + |
| 48 | + |
| 49 | + |
48 | 50 | |
49 | 51 | |
50 | 52 | |
| ||
128 | 130 | |
129 | 131 | |
130 | 132 | |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
131 | 146 | |
132 | 147 | |
133 | 148 | |
| ||
393 | 408 | |
394 | 409 | |
395 | 410 | |
396 | | - |
| 411 | + |
397 | 412 | |
398 | | - |
| 413 | + |
| 414 | + |
399 | 415 | |
400 | 416 | |
401 | 417 | |
| ||
411 | 427 | |
412 | 428 | |
413 | 429 | |
414 | | - |
| 430 | + |
415 | 431 | |
416 | 432 | |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
421 | 441 | |
422 | 442 | |
423 | 443 | |
|
0 commit comments