Fix an incorrect assertion condition in mdwritev().

From: Xing Guo <higuoxing(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Fix an incorrect assertion condition in mdwritev().
Date: 2024-05-25 15:52:22
Message-ID: CACpMh+BM-VgKeO7suPG-VHTtpzJ+zsbDPwVHu42PLp-iTk0z+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

In commit 4908c58[^1], a vectored variant of smgrwrite() is added and
the assertion condition in mdwritev() no longer matches the comment.
This patch helps fix it.

[^1]: https://github.com/postgres/postgres/commit/4908c5872059c409aa647bcde758dfeffe07996e

Best Regards,
Xing

Attachment Content-Type Size
v1-0001-Fix-an-incorrect-assertion-in-mdwritev.patch text/x-patch 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2024-05-25 17:53:17 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Tom Lane 2024-05-25 14:47:57 Re: DROP OWNED BY fails to clean out pg_init_privs grants