[v9.1] add makeRangeTblEntry() into makefuncs.c
Kouhei Kaigai <kaigai@ak.jp.nec.com>
From: KaiGai Kohei <kaigai@ak.jp.nec.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>, pgsql-hackers@postgresql.org
Date: 2010-06-14T08:34:21Z
Lists: pgsql-hackers
Attachments
- pgsql-v9.1-add-makeRTE.1.patch (application/octect-stream) patch v9
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>