Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 99d0e6e

Browse files
committed
added user-friendly KB unit
1 parent 5466ab6 commit 99d0e6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/pgut.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ static const unit_conversion memory_unit_conversion_table[] =
8686
{"TB", OPTION_UNIT_KB, 1024 * 1024 * 1024},
8787
{"GB", OPTION_UNIT_KB, 1024 * 1024},
8888
{"MB", OPTION_UNIT_KB, 1024},
89+
{"KB", OPTION_UNIT_KB, 1},
8990
{"kB", OPTION_UNIT_KB, 1},
9091

9192
{"TB", OPTION_UNIT_BLOCKS, (1024 * 1024 * 1024) / (BLCKSZ / 1024)},

0 commit comments

Comments
 (0)