Re: [PATCHES] [pgsql-patches] Phantom Command IDs, updated patch

From: "Zeugswetter Andreas ADI SD" <ZeugswetterA(at)spardat(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] [pgsql-patches] Phantom Command IDs, updated patch
Date: 2007-02-09 09:27:56
Message-ID: E1539E0ED7043848906A8FF995BDA57901C13306@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> As for what I think we *should* do near-term, I'm pretty strongly
> tempted to suggest that we just throw an error if a subtransaction
tries
> to upgrade an upper transaction's shared lock to exclusive.

So when a RI check locks a parent, you would not be able to update the
parent
in a later subtrans.
I can imagine, that the error would be a problem in a select for update
loop,
because there you usually want to update the row.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Takayuki Tsunakawa 2007-02-09 10:31:33 Re: [PATCHES] How can I use 2GB of shared buffers on Windows?
Previous Message Zeugswetter Andreas ADI SD 2007-02-09 09:10:09 Re: Archive log compression keeping physical log availablein the crash recovery

Browse pgsql-patches by date

  From Date Subject
Next Message Takayuki Tsunakawa 2007-02-09 10:31:33 Re: [PATCHES] How can I use 2GB of shared buffers on Windows?
Previous Message Jeremy Drake 2007-02-09 09:08:57 Re: patch adding new regexp functions