formatting.c cleanup: Change fill_str() return type to void

Peter Eisentraut <peter@eisentraut.org>

Commit: aa4535307e3d432f44b4c76b8ffebc5a0789250c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-10-31T08:55:12Z
formatting.c cleanup: Change fill_str() return type to void

The return value is not used anywhere.

In passing, add a comment explaining the function's arguments.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/6dd9d208-a3ed-49b5-b03d-8617261da973%40eisentraut.org

Files

PathChange+/−
src/backend/utils/adt/formatting.c modified +6 −3

Discussion