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