Re: remove upsert example from docs - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: remove upsert example from docs
Date
Msg-id 4D5D6D36.3070805@cs.helsinki.fi
Whole thread Raw
In response to Re: remove upsert example from docs  (Bruce Momjian <bruce@momjian.us>)
Responses Re: remove upsert example from docs
List pgsql-hackers
On 2011-02-17 8:37 PM +0200, Bruce Momjian wrote:
> Marko Tiikkaja wrote:
>> The problem with the "safe" way is that it's not safe if called in a
>> transaction with isolation level set to SERIALIZABLE.
>
> Good analysis.  Documentation patch attached and applied.

The "safe way" I was referring to above was the LOCK TABLE method, not 
the one described in the documentation, so the remark about READ 
COMMITTED in the patch should be removed.  The first part looks fine though.


Regards,
Marko Tiikkaja


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: contrib loose ends: 9.0 to 9.1 incompatibilities
Next
From: Tom Lane
Date:
Subject: Re: contrib loose ends: 9.0 to 9.1 incompatibilities