sepgsql: Move some code from hooks.c to label.c
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/sepgsql/hooks.c | modified | +3 −190 |
| contrib/sepgsql/label.c | modified | +196 −5 |
| contrib/sepgsql/sepgsql.h | modified | +1 −1 |