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

From Syed, Rahila
Subject Re: [REVIEW] Re: Compression of full-page-writes
Date
Msg-id C3C878A2070C994B9AE61077D46C3846589AD751@MAIL703.KDS.KEANE.COM
Whole thread Raw
In response to Re: [REVIEW] Re: Compression of full-page-writes  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [REVIEW] Re: Compression of full-page-writes  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers

 

Thank you for comments. Please find attached the updated patch.

 

>This patch fails to compile:
>xlogreader.c:1049:46: error: extraneous ')' after condition, expected a statement
>                                        blk->with_hole && blk->hole_offset <= 0))

This has been rectified.

 

>Note as well that at least clang does not like much how the sanity check with with_hole are done. You should place parentheses around the '&&' expressions. Also, I would rather define with_hole == 0 or with_hole == 1 explicitly int those checks

The expressions are modified accordingly.

 

>There is a typo:

>s/true,see/true, see/

>[nitpicky]Be as well aware of the 80-character limit per line that is usually normally by comment blocks.[/]

 

Have corrected the typos and changed the comments as mentioned. Also , realigned certain lines to meet the 80-char limit.

 

Thank you,

Rahila Syed

 

 


______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan
Next
From: Michael Paquier
Date:
Subject: Re: Table-level log_autovacuum_min_duration