Re: remove unnecessary include in src/backend/commands/policy.c

From: Japin Li <japinli(at)hotmail(dot)com>
To: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Cc: jian he <jian(dot)universality(at)gmail(dot)com>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: remove unnecessary include in src/backend/commands/policy.c
Date: 2025-12-26 09:27:25
Message-ID: MEAPR01MB3031B77A2590351DC563605DB6B0A@MEAPR01MB3031.ausprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi, Shinya

On Fri, 26 Dec 2025 at 16:30, Shinya Kato <shinya11(dot)kato(at)gmail(dot)com> wrote:
> On Wed, Oct 22, 2025 at 3:30 PM Shinya Kato <shinya11(dot)kato(at)gmail(dot)com> wrote:
>> Thank you for updating the patch.
>> But I said "except for access/relation.h". I think access/relation.h
>> is not necessary if you replace relation_open to table_open.
>
> I've fixed it, and marked the patch as Ready for Committer.
>

Found a typo in the commit message.

> RangeVarCallbackForPolicy already ensures policies apply only to tables
> or partitioned tables, so table_* isthe appropriate API for
> opening/closing the target relation.

s/isthe/is the/

--
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message zengman 2025-12-26 09:42:20 Re:17f446784d54da827f74c2acc0fa772a41b92354 breaks orafce build
Previous Message Chao Li 2025-12-26 08:24:39 Re: Implement waiting for wal lsn replay: reloaded