Refactor getWeights to write to caller-supplied buffer
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Refactor getWeights to write to caller-supplied buffer This gets rid of the static result buffer. Reviewed-by: Robert Haas Discussion: https://www.postgresql.org/message-id/7f86e06a-98c5-4ce3-8ec9-3885c8de0358@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/tsrank.c | modified | +31 −22 |
Discussion
- Minor refactorings to eliminate some static buffers 8 messages · 2024-07-30 → 2024-08-06