Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-13 Thread SZCS Gbor
---% \end - Original Message - From: Tom Lane [EMAIL PROTECTED] Subject: Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT =?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: Q1. So is this everything that can be said -- NOTIFY

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-13 Thread SZCS Gbor
Dear Tom, You did it again! The all-amazing-Tom-Lane-clearsight ;) I could reproduce this. I can imagine this practically as: (session 1) someone shutting down one of our Windows clients, while (session 2) another one did the INSERT at the very same moment. This thing caused session 2 to abort.

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-10 Thread Tom Lane
=?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: A final question: as far as you can remember, may this be an issue already fixed in later versions? I should have looked in the code before, because indeed we have a recent bug fix addressing exactly this issue. Here's the commit

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-10 Thread Tom Lane
=?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: The only thing I still don't understand is the not in in-progress state thing. At the point where it's trying to send a NOTIFY, it's partially out of its transaction --- the state has become TRANS_COMMIT instead of TRANS_INPROGRESS.

[HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-09 Thread SZCS Gbor
Dear Gurus, I tried to shuffle through the archives but was lost in the technical details. Please feel free to tell me a search keyword suitable for my case if there's any. QUESTION1: is this error _always_ harmless (other than transaction rollback)? QUESTION2: is this reported exactly like

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-09 Thread Tom Lane
=?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: ERROR: simple_heap_update: tuple concurrently updatedog. LOG: statement: INSERT INTO pakolas_cikktetel (cikk, minoseg, helyrol, mennyi, pakolas, sorszam, helyre) VALUES (102165, 1, 1488, '25', 68615, 1, 1338) Hmm.

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-09 Thread Tom Lane
=?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: Q1. So is this everything that can be said -- NOTIFY calls simple_heap_update that is concurrently updated by a different transaction? If that's what it is, then there's still a question: why? The notify code has enough locking that

Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT

2004-06-09 Thread SZCS Gbor
: PGH [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 5:23 PM Subject: Re: [HACKERS] simple_heap_update: tuple concurrently updated -- during INSERT =?iso-8859-2?B?U1rbQ1MgR+Fib3I=?= [EMAIL PROTECTED] writes: ERROR: simple_heap_update: tuple concurrently updated. LOG: statement