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

Re: single bit integer (TINYINT) revisited for 8.5

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Caleb Cushing <xenoterracide(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: single bit integer (TINYINT) revisited for 8.5
Date: 2009-07-02 00:41:29
Message-ID: 407d949e0907011741w3ade5f5apa0468be32073be43@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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...

In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2009-07-02 00:51:04
Subject: Re: pg_migrator versus inherited columns
Previous:From: Tom LaneDate: 2009-07-02 00:25:56
Subject: Re: pg_migrator versus inherited columns

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