UUID or auto-increment

Ashkar Dev <ashkardev@gmail.com>

From: Ashkar Dev <ashkardev@gmail.com>
To: pgsql-general@lists.postgresql.org, pgsql-general@postgresql.org
Date: 2020-08-10T15:53:23Z
Lists: pgsql-general
Hi,
for web application is it needed to use UUID or auto-increment?

1- if two user inserts row at the same time, does it work?
2- dose the database give the same id for both users or execute one of them
first? ( I mean ID conflict not happens?)

Thanks.