forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6151cb7
committed
Replace static buf with palloc in str_time()
The function is used only once in the startup process, so the leakinto current memory context is harmless.This is a tiny step in making the server thread-safe.Reviewed-by: Robert HaasDiscussion:https://www.postgresql.org/message-id/7f86e06a-98c5-4ce3-8ec9-3885c8de0358@iki.fi1 parent5bf948d commit6151cb7
1 file changed
+2
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5168 | 5168 |
| |
5169 | 5169 |
| |
5170 | 5170 |
| |
5171 |
| - | |
| 5171 | + | |
5172 | 5172 |
| |
5173 |
| - | |
| 5173 | + | |
5174 | 5174 |
| |
5175 | 5175 |
| |
5176 | 5176 |
| |
|
0 commit comments
Comments
(0)