Re: security hooks on object creation
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: KaiGai Kohei <kaigai@ak.jp.nec.com>
Cc: KaiGai Kohei <kaigai@kaigai.gr.jp>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-25T16:52:38Z
Lists: pgsql-hackers
2010/11/25 KaiGai Kohei <kaigai@ak.jp.nec.com>: > The attached patch is a revised patch. > > - The utils/hooks.h was renamed to catalog/objectaccess.h > - Numeric in the tail of InvokeObjectAccessHook0() has gone. > - Fixed bug in ATExecAddColumn; it gave AttributeRelationId > to the hook instead of RelationRelationId. > > In addition, I found that we didn't put post-creation hook > on foreign data wrapper, foreign server and user mapping > exceptionally. So, I put this hook around their command > handler like any other object classes. Committed with minor, mostly cosmetic adjustments. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company