On 2025-11-24 17:30:14 -0500, pg254kl@georgiou.vip wrote:
> Just because you did set role does not mean you lost your superuser privileges,
> it's correct behavior.
>
> If you want to impersonate in a permissions sandbox it's easy:
>
> create role usera_sandbox in group usera;
> \c - usera_sandbox
But that just disconnects and reconnects as the new user. So you have to
be able to authenticate as that user.
hjp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"