Re: [Glue] Deadlock bug - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: [Glue] Deadlock bug
Date
Msg-id 4C6EE42E.8020300@agliodbs.com
Whole thread Raw
In response to Re: Deadlock bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> In principle we don't need to sharelock the referencing row in either
> update in this example, since the original row version is still there.
> The problem is to know that, given the limited amount of information
> available when performing the second update.

Ah, ok.  I get it now.

Now to figure out how a 2nd or greater update could know whether the row
was newly created or not ...

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Deadlock bug
Next
From: Tom Lane
Date:
Subject: Re: git: uh-oh