git.postgresql.org Git - postgresql.git/commit
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.
This is the main PostgreSQL git repository.
RSS
Atom