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

Re: single bit integer (TINYINT) revisited for 8.5

by Greg Stark-5 :: Rate this Message:

Reply to Author | View in Thread

Incidentally there *is* a single-byte integer data type in Postgres,
it's called "char" (the quote marks are necessary in SQL due to the
char(n) data type).

It's a bit weird though, mainly because its output format is to output
ascii characters -- kind of like how C's single-byte integer data type
is mainly used to hold ascii characters...

--
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