Label access to postgresql