Re: Boolean partitions syntax - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Boolean partitions syntax
Date
Msg-id 20180126160725.GG2416@tamriel.snowman.net
Whole thread Raw
In response to Re: Boolean partitions syntax  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Boolean partitions syntax
List pgsql-hackers
Robert,

* Robert Haas (robertmhaas@gmail.com) wrote:
> On Thu, Jan 25, 2018 at 8:44 PM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
> > Attached updated patch.
>
> I wonder if this patch is just parser bloat without any real benefit.
> It can't be very common to want to partition on a Boolean column, and
> if you do, all this patch does is let you drop the quotes.  That's not
> really a big deal, is it?

I've already had two people mention that it'd be neat to have PG support
it, so I don't believe it'd go unused.  As for if we should force people
to use quotes, my vote would be no because we don't require that for
other usage of true/false in the parser and I don't see any reason why
this should be different.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Documentation of pgcrypto AES key sizes
Next
From: Ildar Musin
Date:
Subject: Re: [HACKERS] Custom compression methods