forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitad8753a
committed
Fix pg_stat_reset_single_table_counters() for shared relations
This commit fixes the function of $subject for shared relations. Thisfeature has been added bye042678. Unfortunately, this new behavior gotremoved by5891c7a when moving statistics to shared memory.Reported-by: Mitsuru HinataAuthor: Masahiro IkedaReviewed-by: Kyotaro Horiguchi, Masahiko SawadaDiscussion:https://postgr.es/m/7cc69f863d9b1bc677544e3accd0e4b4@oss.nttdata.comBackpatch-through: 151 parent62017cb commitad8753a
File tree
3 files changed
+83
-2
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+83
-2
lines changedLines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
2117 | 2118 |
| |
2118 | 2119 |
| |
2119 | 2120 |
| |
2120 |
| - | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
2121 | 2125 |
| |
2122 | 2126 |
| |
2123 | 2127 |
| |
2124 | 2128 |
| |
| 2129 | + | |
2125 | 2130 |
| |
2126 |
| - | |
| 2131 | + | |
2127 | 2132 |
| |
2128 | 2133 |
| |
2129 | 2134 |
| |
|
Lines changed: 46 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
560 | 606 |
| |
561 | 607 |
| |
562 | 608 |
| |
|
Lines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
292 | 322 |
| |
293 | 323 |
| |
294 | 324 |
| |
|
0 commit comments
Comments
(0)