Re: [GENERAL] create roles as normal user

2016-08-28 Thread Pavel Stehule
Hi 2016-08-29 7:14 GMT+02:00 Johannes : > Hello, > > I want a "normal" user to create roles inside the database. > Is it only possible through the createrole privilige, or is there > something like sudo possibile. > > I thought it is possible with the security definer option in create > function,

[GENERAL] create roles as normal user

2016-08-28 Thread Johannes
Hello, I want a "normal" user to create roles inside the database. Is it only possible through the createrole privilige, or is there something like sudo possibile. I thought it is possible with the security definer option in create function, but that does not work for me: (In this test the functi