Re: isn't "insert into where not exists" atomic?

From: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
To: Mage <mage(at)mage(dot)hu>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: isn't "insert into where not exists" atomic?
Date: 2011-02-03 21:35:10
Message-ID: AANLkTik-h=DHus2naKwCi9mmmN3=n0Q3d5LHMA7+8J8X@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Your trigger is wrong. You try to insert the same row twice.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pasman pasmański 2011-02-03 21:44:19 Re: Tip: Transposing rows using generate_series()
Previous Message Alban Hertroys 2011-02-03 20:09:48 Tip: Transposing rows using generate_series()