Content-Length: 241228 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1b6302647302f459fdb63008c3842a1b0d43d1b7

5D Refactor unit conversions code in guc.c. · postgrespro/postgres_cluster@1b63026 · GitHub
Skip to content

Commit 1b63026

Browse files
committed
Refactor unit conversions code in guc.c.
Replace the if-switch-case constructs with two conversion tables, containing all the supported conversions between human-readable unit strings and the base units used in GUC variables. This makes the code easier to read, and makes adding new units simpler.
1 parent bc208a5 commit 1b63026

File tree

2 files changed

+193
-240
lines changed

2 files changed

+193
-240
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/1b6302647302f459fdb63008c3842a1b0d43d1b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy