git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bc208a5) | patch
Refactor unit conversions code in guc.c.
2015年2月23日 16:06:16 +0000 (18:06 +0200)
2015年2月23日 16:06:16 +0000 (18:06 +0200)
commit 1b6302647302f459fdb63008c3842a1b0d43d1b7
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.
src/backend/utils/misc/guc.c diff | blob | blame | history
src/include/utils/guc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /