[v9.1] Add security hook on initialization of instance - Mailing list pgsql-hackers

From KaiGai Kohei
Subject [v9.1] Add security hook on initialization of instance
Date
Msg-id 4C15F05D.1010700@ak.jp.nec.com
Whole thread Raw
In response to Re: ExecutorCheckPerms() hook  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: [v9.1] Add security hook on initialization of instance
List pgsql-hackers
The attached patch tries to add one more security hook on the
initialization of PostgreSQL instance (InitPostgres()).

It gives the external security module a chance to initialize itself,
and acquire credential of the client.

I assumed the best place to initialize the module is just after the
initialize_acl() invocation, if ESP is available.
We have not discussed about this hook yet. So, I'd like to see any
comments.

Thanks,
--
KaiGai Kohei <kaigai@ak.jp.nec.com>

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: GSoC - Materialized Views - is stale or fresh?
Next
From: Bruce Momjian
Date:
Subject: Re: warning message in standby