- Notifications
You must be signed in to change notification settings - Fork5
Commit5ac372f
committed
Add a function to get the authenticated user ID.
Previously, this was not exposed outside of miscinit.c. It is neededfor the pending pg_background patch, and will also be needed forparallelism. Without it, there's no way for a background worker tore-create the exact authentication environment that was present in theprocess that started it, which could lead to security exposures.1 parentc7371c4 commit5ac372f
2 files changed
+11
-0
lines changedLines changed: 10 additions & 0 deletions
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 | + | |
225 | 235 |
| |
226 | 236 |
| |
227 | 237 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
| 286 | + | |
286 | 287 |
| |
287 | 288 |
| |
288 | 289 |
| |
|
0 commit comments
Comments
(0)