[v9.1] add makeRangeTblEntry() into makefuncs.c - Mailing list pgsql-hackers

From KaiGai Kohei
Subject [v9.1] add makeRangeTblEntry() into makefuncs.c
Date
Msg-id 4C15E98D.4070709@ak.jp.nec.com
Whole thread Raw
In response to Re: ExecutorCheckPerms() hook  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: [v9.1] add makeRangeTblEntry() into makefuncs.c
List pgsql-hackers
The attached patch was a part of DML refactoring and security hook patches.

It adds makeRangeTblEntry() into makefuncs.c to keep the code more
clean. It shall be also used for the upcoming DML refactor patch.
In this refactoring, a common DML permission checker function take
a list of RangeTblEntry, so the caller has to set up the object.

Thanks,
--
KaiGai Kohei <kaigai@ak.jp.nec.com>

Attachment

pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: ExecutorCheckPerms() hook
Next
From: KaiGai Kohei
Date:
Subject: Reworks of DML permission checks