Re: UPDATE ... RETURNING atomicity

From: rihad <rihad(at)mail(dot)ru>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: UPDATE ... RETURNING atomicity
Date: 2010-05-23 10:57:31
Message-ID: 4BF90A1B.3010801@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/23/2010 03:15 PM, Grzegorz Jaśkiewicz wrote:
> every single query in postrgresql runs as a transaction, on top of it,
> some are atomic, like when you use RETURNING statement. This is
> because postgresql doesn't actually have to select these rows as
> separate query.

Please note the cooperation of the UPDATE and the inner sub-SELECT
query, which was my point.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2010-05-23 11:07:22 Re: UPDATE ... RETURNING atomicity
Previous Message Grzegorz Jaśkiewicz 2010-05-23 10:15:12 Re: UPDATE ... RETURNING atomicity