Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying
Date
Msg-id 27699.1236616437@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Accept 'on' and 'off' as input for boolean data type, unifying  (petere@postgresql.org (Peter Eisentraut))
List pgsql-committers
petere@postgresql.org (Peter Eisentraut) writes:
> Accept 'on' and 'off' as input for boolean data type, unifying the syntax
> that the data type and GUC accepts.

ISTM the failure case in parse_bool_with_len will dump core if "result"
is passed as NULL.

            regards, tom lane

pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Tweak the regression test case so that the ordering of numbers
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: In parse_bool_with_len, avoid crash when no result pointer is