forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1b63026
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 unitstrings and the base units used in GUC variables. This makes the codeeasier to read, and makes adding new units simpler.1 parentbc208a5 commit1b63026