sepgsql: Move some code from hooks.c to label.c
This is some preliminary refactoring related to a pending patch
to allow sepgsql-enable sessions to make dynamic label transitions.
But this commit doesn't involve any functional change: it just puts
some bits of code in more logical places.
KaiGai Kohei
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d44a3fb55de06137e77b0105c89656a897e396e8
Modified Files
--------------
contrib/sepgsql/hooks.c | 193 +------------------------------------------
contrib/sepgsql/label.c | 201 +++++++++++++++++++++++++++++++++++++++++++-
contrib/sepgsql/sepgsql.h | 2 +-
3 files changed, 200 insertions(+), 196 deletions(-)