On Thu, May 14, 2015 at 12:22 PM, Denis Kirjanov <kda(at)itsirius(dot)su> wrote:
> Yeah, but the idea is to do that without the pg_hba.conf
>
You may want to try describing the problem and not just ask if the chosen
solution is possible - of which I am doubtful but I have never used selinux
or studied it in any depth. pg_hba.conf is the chosen tool for this kind
of thing so pointing out why it cannot be used is a much more useful first
step.
David J.