Andres Freund wrote:
> Having reread the patch just now I basically see two things to
> criticize:
> a) why isn't this accessible at SQL level? That seems easy to address.
> b) Arguably some of this could well be done in separate commits.
Fair comments. I will split it up.
FWIW, I spent some time today fighting with this stuff but the
OBJECT_POLICY stuff has been causing me some trouble. I'm not sure that
what's there currently in get_object_address is completely sane -- for
one thing I'm unsure that tables are the only object kind in the system
that are subject to policies. In that case, we have a shortage of
abstraction here, it seems, which will need some additional fixes.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services