Re: Minor fix in lwlock.c - Mailing list pgsql-patches

From Qingqing Zhou
Subject Re: Minor fix in lwlock.c
Date
Msg-id d37p18$21sp$1@news.hub.org
Whole thread Raw
In response to Minor fix in lwlock.c  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
List pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes
> Actually, on further thought, there's a really simple solution that
> we've used elsewhere: make sure you have the resource you need *before*
> you get into the critical section of code.  I've applied the attached
> revised patch.
>

Oh, that's the one - why didn't think of it at the first time? :-)

Regards,
Qingqing



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: DELETE ... USING
Next
From: Robert Treat
Date:
Subject: update some urls