| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> |
| Cc: | KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: security hooks on object creation |
| Date: | 2010-11-25 16:52:38 |
| Message-ID: | AANLkTikATDYsWdhUY-RtoopUQsKA385zaBEvCAtGQ6bz@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
2010/11/25 KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dimitri Fontaine | 2010-11-25 16:58:41 | Regression Tests (opr) Sanity |
| Previous Message | Heikki Linnakangas | 2010-11-25 16:44:42 | Re: SQL/MED - core functionality |