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

Re: boolean states

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: jaime(at)2ndquadrant(dot)com, jack(at)douglastechnology(dot)co(dot)uk, pgsql-docs(at)postgresql(dot)org
Subject: Re: boolean states
Date: 2011-05-10 01:04:49
Message-ID: 201105100104.p4A14n024448@momjian.us (view raw or flat)
Thread:
Lists: pgsql-docs
Kevin Grittner wrote:
> Jack Douglas  wrote:
>  
> > There are two kinds of people on this earth, those who understand
> > boolean arithmatic and those who don't. I'm not one of them.
>  
> Hmmm...  From that, I don't know if you do.  Which do I record in the
> understands_boolean column of the database record for you?  Dang, I
> knew I should have had *two* flags: known_to_understand_boolean and
> known_to_not_understand_boolean.  That would have been much simpler
> than allowing NULL for UNKNOWN....

Attached patch applied to HEAD and 9.0.X.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachment: /rtmp/diff
Description: text/x-diff (788 bytes)

In response to

Responses

pgsql-docs by date

Next:From: Josh KupershmidtDate: 2011-05-10 01:45:01
Subject: Re: boolean states
Previous:From: Euler Taveira de OliveiraDate: 2011-05-09 19:28:42
Subject: Re: should pg_basebackup be listed as a server application?

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