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

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Duplicate values when using same sequence to generate columns across two different tables
Date: 2013-11-27 09:28:58
Message-ID: l74e0f$44c$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Aditya Rastogi, 27.11.2013 10:00:
> 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?

No, absolutely not.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James David Smith 2013-11-27 14:10:18 WAL logs clog-up disk space
Previous Message Aditya Rastogi 2013-11-27 09:00:18 Duplicate values when using same sequence to generate columns across two different tables