Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> If we're going to change it, we should make it match GUC's parse_bool,
>> which has had some actual thought put into it.
> Good idea. Do I copy the C code into /psql or somehow share the
> function?
Just copy it --- it's not large enough to be worth doing something like
inventing a /port module for, and besides it's not clear that you want
exactly the same API.
regards, tom lane