Make sure that usesuper is always accessed through superuser(), so that the
Peter Eisentraut <peter_e@gmx.net>
Make sure that usesuper is always accessed through superuser(), so that the single-user escape path always works.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/aclchk.c | modified | +3 −5 |
| src/backend/commands/dbcommands.c | modified | +13 −25 |
| src/backend/utils/misc/superuser.c | modified | +6 −1 |
| src/include/catalog/pg_shadow.h | modified | +2 −2 |