Postgres do not support tinyint? - Mailing list pgsql-general

From Igor Korot
Subject Postgres do not support tinyint?
Date
Msg-id CA+FnnTzfvgVdptHcLBFPrq_Q+xPes-Bhjiw_xFiooq4VqhqyrQ@mail.gmail.com
Whole thread Raw
Responses Re: Postgres do not support tinyint?
Re: Postgres do not support tinyint?
List pgsql-general
Hi, ALL,
According to https://www.postgresql.org/docs/9.1/datatype-numeric.html, the
smallest numeric type supports numbers from -32768 to 32767/

My data will be in a range of [0..4], and so I guess my DB table will waste
space, right?

Thank you.



pgsql-general by date:

Previous
From: Daniel Frey
Date:
Subject: Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode
Next
From: Adrian Klaver
Date:
Subject: Re: Postgres do not support tinyint?