Re: [REVIEW] Re: Compression of full-page-writes - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: [REVIEW] Re: Compression of full-page-writes
Date
Msg-id 20140618125818.GY5162@toroid.org
Whole thread Raw
In response to Re: [REVIEW] Re: Compression of full-page-writes  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
List pgsql-hackers
At 2014-06-18 18:25:34 +0530, ams@2ndQuadrant.com wrote:
>
> Are these allocations actually inside a critical section? It seems to me
> that the critical section starts further down, but perhaps I am missing
> something.

OK, I was missing that XLogInsert() itself can be called from inside a
critical section. So the allocation has to be moved somewhere else
altogether.

-- Abhijit



pgsql-hackers by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes
Next
From: Pavan Deolasee
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes