Duplicate values when using same sequence to generate columns across two different tables

From: Aditya Rastogi <adirastogi(at)outlook(dot)com>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Duplicate values when using same sequence to generate columns across two different tables
Date: 2013-11-27 09:00:18
Message-ID: BAY176-W32BDD267896D4399354BF0C5EF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,
I am using the same sequence to auto-generate values for columns in two different tables. If multiple parallel sessions are inserting values in either of the tables, is there a chance that there might occur entries with the same integer in the two tables or in one of the tables ?
Thanks in advance,Aditya

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Thomas Kellerer 2013-11-27 09:28:58 Re: Duplicate values when using same sequence to generate columns across two different tables
Previous Message amul sul 2013-11-25 00:41:13 Re: Debug in postgresql using eclipse