forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5a6f9bc
committed
Mark inet_server_addr() and inet_server_port() as parallel-restricted.
These need to be PR because they access the MyProcPort data structure,which doesn't get copied to parallel workers. The very similarfunctions inet_client_addr() and inet_client_port() are alreadymarked PR, but somebody missed these.Although this is a pre-existing bug, we can't readily fix it in the backbranches since we can't force initdb. Given the small usage of thesetwo functions, and the even smaller likelihood that they'd get pushed toa parallel worker anyway, it doesn't seem worth the trouble to suggestthat DBAs should fix it manually.Masahiko SawadaDiscussion:https://postgr.es/m/CAD21AoAT4aHP0Uxq91qpD7NL009tnUYQe-b14R3MnSVOjtE71g@mail.gmail.com1 parent8b411b8 commit5a6f9bc
2 files changed
+5
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4082 | 4082 |
| |
4083 | 4083 |
| |
4084 | 4084 |
| |
4085 |
| - | |
| 4085 | + | |
| 4086 | + | |
4086 | 4087 |
| |
4087 | 4088 |
| |
4088 |
| - | |
| 4089 | + | |
| 4090 | + | |
4089 | 4091 |
| |
4090 | 4092 |
| |
4091 | 4093 |
| |
|
0 commit comments
Comments
(0)