title: UUID or SEQUENCE for primary key?
body: <p>I am coming from MySQL, and in MySQL you can use AUTOINCREMENT for a row's unique id as the primary key.</p>
  
  <p>I find that there is no AUTOINCREMENT in Postgresql, only SEQUENCE or UUID.I have read somewhere that we can use UUID as the primary key of a table. This has the added advantage of masking other user's id (as I want to build APIs that take the ID in as a parameter). Which should I use for Postgresql?</p>