forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit811969b
committed
Allocate enough shared string memory for stats of auxiliary processes.
This fixes a bug whereby the st_appname, st_clienthostname, andst_activity_raw fields for auxiliary processes point beyond the end oftheir respective shared memory segments. As a result, the application_nameof a backend might show up as the client hostname of an auxiliary process.Backpatch to v10, where this bug was introduced, when the auxiliaryprocesses were added to the array.Author: Edmund HornerReviewed-by: Michael PaquierDiscussion:https://www.postgresql.org/message-id/CAMyN-kA7aOJzBmrYFdXcc7Z0NmW%2B5jBaf_m%3D_-77uRNyKC9r%3DA%40mail.gmail.com1 parenta820b4c commit811969b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2650 | 2650 |
| |
2651 | 2651 |
| |
2652 | 2652 |
| |
2653 |
| - | |
| 2653 | + | |
2654 | 2654 |
| |
2655 | 2655 |
| |
2656 | 2656 |
| |
| |||
2668 | 2668 |
| |
2669 | 2669 |
| |
2670 | 2670 |
| |
2671 |
| - | |
| 2671 | + | |
2672 | 2672 |
| |
2673 | 2673 |
| |
2674 | 2674 |
| |
|
0 commit comments
Comments
(0)