forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit72abf03
committed
Fix pg_stat_statements for MERGE
We weren't jumbling the merge action list, so wildly different commandswould be considered to use the same query ID. Add that, mention it inthe docs, and some test lines.Backpatch to 15.Author: Tatsu <bt22nakamorit@oss.nttdata.com>Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>Discussion:https://postgr.es/m/d87e391694db75a038abc3b2597828e8@oss.nttdata.com1 parentd1f95fa commit72abf03
File tree
5 files changed
+77
-5
lines changed- contrib/pg_stat_statements
- expected
- sql
- doc/src/sgml
- src/backend
- nodes
- utils/misc
5 files changed
+77
-5
lines changedLines changed: 40 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
225 | 246 |
| |
226 | 247 |
| |
227 | 248 |
| |
228 | 249 |
| |
229 | 250 |
| |
230 | 251 |
| |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
231 | 270 |
| |
232 | 271 |
| |
233 | 272 |
| |
234 | 273 |
| |
235 | 274 |
| |
236 | 275 |
| |
237 | 276 |
| |
238 |
| - | |
| 277 | + | |
239 | 278 |
| |
240 | 279 |
| |
241 | 280 |
| |
|
Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
103 | 125 |
| |
104 | 126 |
| |
105 | 127 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
490 |
| - | |
| 490 | + | |
491 | 491 |
| |
492 | 492 |
| |
493 | 493 |
| |
| |||
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
786 |
| - | |
| 786 | + | |
787 | 787 |
| |
788 | 788 |
| |
789 | 789 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2266 | 2266 |
| |
2267 | 2267 |
| |
2268 | 2268 |
| |
2269 |
| - | |
2270 |
| - | |
2271 | 2269 |
| |
2272 | 2270 |
| |
| 2271 | + | |
| 2272 | + | |
2273 | 2273 |
| |
2274 | 2274 |
| |
2275 | 2275 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
| 250 | + | |
250 | 251 |
| |
251 | 252 |
| |
252 | 253 |
| |
| |||
737 | 738 |
| |
738 | 739 |
| |
739 | 740 |
| |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
740 | 751 |
| |
741 | 752 |
| |
742 | 753 |
| |
|
0 commit comments
Comments
(0)