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

From Fujii Masao
Subject Re: Compression of full-page-writes
Date
Msg-id CAHGQGwHt8pPZbL6Dwy1EjMysHdPdABA=kMyvSgKqYkyEyZ4zDg@mail.gmail.com
Whole thread Raw
In response to Re: Compression of full-page-writes  (Sameer Thakur <samthakur74@gmail.com>)
Responses Re: Compression of full-page-writes
List pgsql-hackers
On Sat, May 10, 2014 at 8:33 PM, Sameer Thakur <samthakur74@gmail.com> wrote:
> Hello,
>>Done. Attached is the updated version of the patch.
> I was trying to check WAL reduction using this patch on latest available git
> version of Postgres using JDBC runner with tpcc benchmark.
>
> patching_problems.txt
> <http://postgresql.1045698.n5.nabble.com/file/n5803482/patching_problems.txt>
>
> I did resolve the patching conflicts and then compiled the source, removing
> couple of compiler errors in process. But the server crashes in the compress
> mode i.e. the moment any WAL is generated. Works fine in 'on' and 'off'
> mode.

What kind of error did you get at the server crash? Assertion error? If yes,
it might be because of the conflict with
4a170ee9e0ebd7021cb1190fabd5b0cbe2effb8e.
This commit forbids palloc from being called within a critical section, but
the patch does that and then the assertion error happens. That's a bug of
the patch.

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: min_recovery_apply_delay
Next
From: Heikki Linnakangas
Date:
Subject: Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)