On Sat, 2005-15-10 at 16:42 -0400, jeff sacksteder wrote: > It occurs to me that I don't know how to define unsigned integer > datatypes. I'm making a schema to describe network packets and I need > columns to contain values from 0-255, etc. > > I can't seem to find any documentation on this. What's the best > prectice for this situation? You can use a signed type with a CHECK constraint to restrict the column's value to positive integers. -Neil ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq