Re: [PATCH] Simplify permission checking logic in user.c

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Paul Martinez <paulmtz(at)google(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Simplify permission checking logic in user.c
Date: 2021-01-01 10:22:05
Message-ID: 0858BA1D-6941-48D5-8547-5608C0EF841A@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 31 дек. 2020 г., в 00:37, Paul Martinez <paulmtz(at)google(dot)com> написал(а):
>
> In Google Cloud SQL we create a role for customers, cloudsqlsuperuser,
> which, confusingly, is not a SUPERUSER, but does have some extra
> permissions. We've modified a lot of "if (!superuser())" checks to
> "if (!superuser() && !cloudsqlsuperuser())".

You use cloudsqlsuperuser.
RDS has rds_superuser.
Aiven has their aiven_extras extension.
Yandex Cloud has mdb_admin and mdb_replication.

Some of us, probably, could do something useful for the project instead of rebasing those patches and extensions.
Let's start to work together with community. Let's address issues that thread[0] faced and restart it.

Happy New Year :)

Best regards, Andrey Borodin.

[0] https://www.postgresql.org/message-id/flat/f41d93b6-69ba-fa05-c91a-045bafa5f832%402ndquadrant.com#636c800abc6f464c388db7f532a389ba

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2021-01-01 11:28:37 Re: poc - possibility to write window function in PL languages
Previous Message Bharath Rupireddy 2021-01-01 10:15:50 Re: [PATCH] Simple progress reporting for COPY command