Re: remove unnecessary include in src/backend/commands/policy.c
Japin Li <japinli@hotmail.com>
From: Japin Li <japinli@hotmail.com>
To: Shinya Kato <shinya11.kato@gmail.com>
Cc: jian he <jian.universality@gmail.com>, Álvaro Herrera <alvherre@kurilemu.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-12-26T09:27:25Z
Lists: pgsql-hackers
Hi, Shinya On Fri, 26 Dec 2025 at 16:30, Shinya Kato <shinya11.kato@gmail.com> wrote: > On Wed, Oct 22, 2025 at 3:30 PM Shinya Kato <shinya11.kato@gmail.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.