Re: security hooks on object creation - Mailing list pgsql-hackers

From Robert Haas
Subject Re: security hooks on object creation
Date
Msg-id AANLkTikATDYsWdhUY-RtoopUQsKA385zaBEvCAtGQ6bz@mail.gmail.com
Whole thread Raw
In response to Re: security hooks on object creation  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
List 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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SQL/MED - core functionality
Next
From: Dimitri Fontaine
Date:
Subject: Regression Tests (opr) Sanity