From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Fix a typo in md.c |
Date: | 2023-06-13 21:33:18 |
Message-ID: | CAD21AoDg8rTWJkrNJg9UTP89vS8smfib2c55DVqKrCn8zR-GYA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I've attached the patch for $subject. In the following comment,
/*
* If available and useful, use posix_fallocate() (via FileAllocate())
* to extend the relation. That's often more efficient than using
* write(), as it commonly won't cause the kernel to allocate page
* cache space for the extended pages.
*
* However, we don't use FileAllocate() for small extensions, as it
* defeats delayed allocation on some filesystems. Not clear where
* that decision should be made though? For now just use a cutoff of
* 8, anything between 4 and 8 worked OK in some local testing.
s/FileAllocate()/FileFallocate()/
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
fix_typo_md.patch | application/octet-stream | 1006 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2023-06-13 21:38:14 | Re: Document that server will start even if it's unable to open some TCP/IP ports |
Previous Message | Tom Lane | 2023-06-13 21:18:01 | Re: pgsql: Fix search_path to a safe value during maintenance operations. |