Add context info to OAT_POST_CREATE security hook

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: f4c4335a4aaf5f2ee6e741cdf4f5c8e338d86a2f
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-23T21:24:24Z
Releases: 9.3.0
Add context info to OAT_POST_CREATE security hook

... and have sepgsql use it to determine whether to check permissions
during certain operations.  Indexes that are being created as a result
of REINDEX, for instance, do not need to have their permissions checked;
they were already checked when the index was created.

Author: KaiGai Kohei, slightly revised by me

Files