Re: Boolean partitions syntax - Mailing list pgsql-hackers

From Amit Langote
Subject Re: Boolean partitions syntax
Date
Msg-id bdb1d41a-a150-406c-cc66-c93c7625f388@lab.ntt.co.jp
Whole thread Raw
In response to Re: Boolean partitions syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Boolean partitions syntax
List pgsql-hackers
On 2018/04/24 4:33, Tom Lane wrote:
> Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes:
>> On 2018/04/22 2:29, Tom Lane wrote:
>>> I propose the attached slightly-less-invasive version of Amit's original
>>> patch as what we should do in v10 and v11, and push the patch currently
>>> under discussion out to v12.
> 
>> Here too.
> 
> Pushed.  It occurred to me at the last moment that we could partially
> address one of my original concerns about this hack by converting TRUE
> and FALSE to strings 'true' and 'false' not just 't' and 'f'.  Those
> will be accepted by boolin just as well, and doing it like that slightly
> reduces the astonishment factor if somebody writes TRUE for, say, a
> text column's partbound.  I'd still prefer that we throw an error for
> such a case, but that'll have to wait for v12.

Thanks for making that change and committing.

Regards,
Amit



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS
Next
From: Peter Geoghegan
Date:
Subject: Local partitioned indexes and pageinspect