Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying
Date: 2009-03-09 16:33:57
Message-ID: 27699.1236616437@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
petere(at)postgresql(dot)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

In response to

pgsql-committers by date

Next:From: Peter EisentrautDate: 2009-03-09 16:49:13
Subject: pgsql: In parse_bool_with_len, avoid crash when no result pointer is
Previous:From: Peter EisentrautDate: 2009-03-09 15:04:21
Subject: pgsql: Tweak the regression test case so that the ordering of numbers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group