Re: UPDATE ... RETURNING atomicity

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: rihad <rihad(at)mail(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: UPDATE ... RETURNING atomicity
Date: 2010-05-23 20:29:53
Message-ID: AANLkTiluOdX3_kzVDpGq0dDvpoAUIUyvQaVbOueuUWAi@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

don't lock tables explicitly. That's a killer for (concurrent) performance.
Just write queries properly, and use appropriate transaction level.
And you are sorted.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-05-24 00:47:35 Re: ROLLBACK in a function
Previous Message Ken Winter 2010-05-23 18:51:36 ROLLBACK in a function