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

Re: An amusing MySQL weakness--not!

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: An amusing MySQL weakness--not!
Date: 2011-06-27 07:12:50
Message-ID: 201106271012.51395.achill@matrix.gatewaynet.com (view raw or flat)
Thread:
Lists: pgsql-general
Στις Sunday 26 June 2011 17:11:06 ο/η Vincent Veyron έγραψε:
> Le dimanche 26 juin 2011  00:05 -0700, Darren Duncan a crit :
> > Michael Nolan wrote:
> 
> > Having real BOOLEAN is just one of the reasons I like Postgres the most.
> > 
> 
> Would you mind giving an example of where a boolean field would be a win
> over an integer one?
> 
> I'm asking this because I frequently wonder what is best for my use; I
> normally query postgres via Perl modules, which don't care about boolean
> (the driver converts t/f to 0/1), but I like to tune my fields properly.

Alright, but in other enterprise-level platforms, like java, there is a boolean data type and a Boolean class wrapper.

> 
> 
> -- 
> Vincent Veyron
> http://marica.fr/
> Logiciel de gestion des sinistres et des contentieux pour le service juridique
> 
> 



-- 
Achilleas Mantzios

In response to

pgsql-general by date

Next:From: Guillaume LelargeDate: 2011-06-27 07:24:30
Subject: Re: Anyone using silent_mode?
Previous:From: Heikki LinnakangasDate: 2011-06-27 07:06:52
Subject: Anyone using silent_mode?

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