Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-26 Thread Stephan Szabo
On Mon, 26 Aug 2002, Mario Weilguni wrote: > Not a lower strength lock, I would, but I'm not so familiar with the postgres > internals. I modified ri-triggers.c to exclude certain tables from the > locking itself (because I know the tables are not updated). It might help the op of this thread, s

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-26 Thread Mario Weilguni
ECTED]] Gesendet: Montag, 26. August 2002 17:29 An: Mario Weilguni Cc: [EMAIL PROTECTED] Betreff: Re: [HACKERS] Deadlock situation using foreign keys (reproduceable) On Mon, 26 Aug 2002, Mario Weilguni wrote: > I wrote this patch for my system, and it works fine. However, it's a > really ugly w

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-26 Thread Stephan Szabo
On Mon, 26 Aug 2002, Mario Weilguni wrote: > I wrote this patch for my system, and it works fine. However, it's a > really ugly workaround. I can publish the source if anybody is > interested. Which, the for update one or a lower strength lock? In either case, certainly.

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-25 Thread Mario Weilguni
I wrote this patch for my system, and it works fine. However, it's a really ugly workaround. I can publish the source if anybody is interested. Am Montag, 26. August 2002 06:33 schrieb Thomas O'Dowd: > Thanks for your feedback Stephan. Seems like a tough fix. Pitty it won't > make it into 7.3. I

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-25 Thread Stephan Szabo
On 26 Aug 2002, Thomas O'Dowd wrote: > Thanks for your feedback Stephan. Seems like a tough fix. Pitty it won't > make it into 7.3. I presume there are other folk out there suffering > from the same problems that I'm having. What approaches if any have > people taken to work around this problem?

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-25 Thread Thomas O'Dowd
Thanks for your feedback Stephan. Seems like a tough fix. Pitty it won't make it into 7.3. I presume there are other folk out there suffering from the same problems that I'm having. What approaches if any have people taken to work around this problem? I read in the list that one user patched his p

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-25 Thread Stephan Szabo
On 26 Aug 2002, Thomas O'Dowd wrote: > Hi all, > > I've been having a lot of trouble with deadlocks in 7.2.1 because of > foreign keys. I dug out a couple of messages from the list archives > which cover this topic. > > One particular message indicates a fix was being worked on. > > Dat

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-08-25 Thread Thomas O'Dowd
Hi all, I've been having a lot of trouble with deadlocks in 7.2.1 because of foreign keys. I dug out a couple of messages from the list archives which cover this topic. One particular message indicates a fix was being worked on. Date: Thu, 11 Apr 2002 09:03:06 -0700 (PDT) From: Stephan

Re: [HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-04-11 Thread Stephan Szabo
On Thu, 11 Apr 2002, Mario Weilguni wrote: > As promised here's an example of deadlock using foreign keys. > > create table lang ( > id integer not null primary key, > name text > ); > insert into lang values (1, 'English'); > insert into lang values (2, 'German'); > > create table country (

[HACKERS] Deadlock situation using foreign keys (reproduceable)

2002-04-11 Thread Mario Weilguni
As promised here's an example of deadlock using foreign keys. create table lang ( id integer not null primary key, name text ); insert into lang values (1, 'English'); insert into lang values (2, 'German'); create table country ( id integer not null primary key, name text ); insert into