ITAGAKI Takahiro wrote:
Here is a patch to allow 'on' and 'off' as input texts for boolean. Duplicated boolean parsers in parse_bool() and boolin() are merged into a new parse_bool_with_len().
Regarding your FIXME comment, I think parse_bool* should be in bool.c and declared in builtins.h, which guc.c already includes. (Conceptually, the valid format of a bool should be drived by the boolean type, not the GUC system, I think.)
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers