Re: Speed up pg_checksums in cases where checksum already set

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Justin Pryzby <pryzby(at)telsasoft(dot)com>
Subject: Re: Speed up pg_checksums in cases where checksum already set
Date: 2021-06-02 14:21:55
Message-ID: CAKAnmmJjR6BnGxLN75tKcmYY_Zdc8FSe5VHBk4a51QqWneGwCQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fair enough; thanks for the feedback. Attached is a new version that does
an unconditional sync (well, unless do_sync is false, a flag I am not
particularly fond of).

Cheers,
Greg

Attachment Content-Type Size
pg_checksums.optimize.writes.always.sync.patch application/octet-stream 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Mlodgenski 2021-06-02 14:43:10 Re: Support for CREATE MODULE?
Previous Message Bharath Rupireddy 2021-06-02 14:21:25 Re: tab-complete for CREATE TYPE ... SUBSCRIPT