Re: Boolean partitions syntax - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Boolean partitions syntax
Date
Msg-id 51663f25-b82b-22a0-1278-db26e4bf76dc@2ndquadrant.com
Whole thread Raw
In response to Re: Boolean partitions syntax  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
List pgsql-hackers
On 12/12/17 04:12, Ashutosh Bapat wrote:
> May be you should use opt_boolean_or_string instead of TRUE_P and
> FALSE_P. It also supports ON and OFF, which will be bonus.

But ON and OFF are not valid boolean literals in SQL.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: plpgsql test layout
Next
From: Arthur Nascimento
Date:
Subject: Re: proposal: alternative psql commands quit and exit