]> git.ipfire.org Git - thirdparty/postgresql.git/commit
formatting.c cleanup: Change TmFromChar.clock field to bool
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 31 Oct 2025 07:05:33 +0000 (08:05 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 31 Oct 2025 07:06:46 +0000 (08:06 +0100)
commitce5f6817e4d572300f303a797f4f42820ead0044
tree4a0130b00a5a7449bf66a84c11dd922d9ecb6274
parentc9e38a569c5fe8006a08f63ba6b63d8021704c53
formatting.c cleanup: Change TmFromChar.clock field to bool

This makes the purpose clearer and avoids having two extra symbols,
one of which (CLOCK_24_HOUR) was unused.

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