Re: Correction to comment regarding atomicity of an operation - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Correction to comment regarding atomicity of an operation
Date
Msg-id 002901cd9095$7cc42a90$764c7fb0$@kapila@huawei.com
Whole thread Raw
In response to Correction to comment regarding atomicity of an operation  (Gurjeet Singh <singh.gurjeet@gmail.com>)
List pgsql-hackers

On Wednesday, September 12, 2012 5:33 AM Gurjeet Singh wrote:

 

 

> This comment in UpdateFullPageWrites() seems to be inaccurate:

>     * It's safe to check the shared full_page_writes without the lock,
 >    * because we assume that there is no concurrently running process which
  >   * can update it.

> That assumption does not hold on any sane SMP system.

Do you able to see any case where it can be updated when being accessed here.

 

With Regards,

Amit Kapila.

pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Doc typo: lexems -> lexemes
Next
From: Amit Kapila
Date:
Subject: Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database)