Re: sinval synchronization considered harmful - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: sinval synchronization considered harmful
Date
Msg-id 1311702683-sup-4401@alvh.no-ip.org
Whole thread Raw
In response to Re: sinval synchronization considered harmful  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Tom Lane's message of mar jul 26 13:43:08 -0400 2011:

> Uh, yes.  I've lost count of the number of times I've seen people hit
> one-instruction-wide race condition windows, SIGSEGV crash based on
> accessing only one byte past the valid data structure, etc etc.

I think you need a better locking protocol on that counter of yours.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: pasman pasmański
Date:
Subject: Re: problem with compiling beta3 on mingw32+WinXP
Next
From: Greg Smith
Date:
Subject: Re: write scalability