UUID or auto-increment

From: Ashkar Dev <ashkardev(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: UUID or auto-increment
Date: 2020-08-10 15:53:23
Message-ID: CAHaowgVasGvbuEBW4Fh-4ke31A9YfAF=VO5yk0OwS+0TT+azrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pgml@gmx.de 2020-08-10 16:37:05 SQL Question about like
Previous Message Virendra Kumar 2020-08-10 06:05:12 xact_start time set to very old value