title: Use of datatype for 10-20 digit value - PostgreSQL
body: <p>Im currently developing an application that needs to store a 10 to 20 digit value into the database.</p>
  
  <p>My question is, what datatype should i need to be using? This digit is used as an primary key, and therefore the performance of the DB is important for my accplication. In Java i use this digit as and BigDecimal.</p>