title: Postgresql enum what are the advantages and disadvantages?
body: <p>Where I work we use a postgres database (8.3 soon to migrate to 8.4). There is a small debate currently on the use of enums in the database. Personally I do not like the db enum type. Among other things it puts application logic in the database and creates a posibility for a mismatch between code and data. </p>
  
  <p>I was wondering what exactly are the advantages of postgres enums (besides readablity) and what are the disadvatages?</p>