« Return to Thread: single bit integer (TINYINT) revisited for 8.5

single bit integer (TINYINT) revisited for 8.5

by xenoterracide :: Rate this Message:

Reply to Author | View in Thread

On Wed, Jul 1, 2009 at 11:41 AM, Kevin
Grittner<Kevin.Grittner@...> wrote:
> I think you mean byte where you've said bit.

you're correct. I'm being a nerf.

>  Boolean would be
> adequate for a single bit, and I haven't (so far) seen any database
> which supports both a single-bit type and a boolean.

wasn't aware of that. I'm admittedly most familiar with sqlite,
postgres, and mysql

>  Many databases
> support a TINYINT type as a single-byte value, although I'm not sure
> there's consistency on whether that's a signed or unsigned value.

wouldn't any implementation in pg support both?

--
Caleb Cushing

http://xenoterracide.blogspot.com

--
Sent via pgsql-hackers mailing list (pgsql-hackers@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

 « Return to Thread: single bit integer (TINYINT) revisited for 8.5