Replace static buf with a stack-allocated one in ReadControlFile
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Replace static buf with a stack-allocated one in ReadControlFile It's only used very locally within the function. Reviewed-by: Robert Haas Discussion: https://www.postgresql.org/message-id/7f86e06a-98c5-4ce3-8ec9-3885c8de0358@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +1 −1 |
Discussion
- Minor refactorings to eliminate some static buffers 8 messages · 2024-07-30 → 2024-08-06