The correct nomenclature for the highest privileged user is superuser
and not "super user", this replaces the few instances where that was
used erroneously. No user-visible changes are done as all changes are
in comments, so no back-patching.
Author: Bharath Rupireddy <
[email protected]>
Discussion: https://postgr.es/m/CALj2ACW3snGBD8BAQiArMDS1Y43LuX3ymwO+N8aUg1Hrv6hYNw@mail.gmail.com
rel = table_open(AccessMethodRelationId, RowExclusiveLock);
- /* Must be super user */
+ /* Must be superuser */
if (!superuser())
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
rel = table_open(ForeignDataWrapperRelationId, RowExclusiveLock);
- /* Must be super user */
+ /* Must be superuser */
if (!superuser())
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
rel = table_open(ForeignDataWrapperRelationId, RowExclusiveLock);
- /* Must be super user */
+ /* Must be superuser */
if (!superuser())
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
Oid ownerId;
Datum newOptions;
- /* Must be super user */
+ /* Must be superuser */
if (!superuser())
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
-- so there's no need to do that here.
--
--
--- return to the super user
+-- return to the superuser
--
RESET SESSION AUTHORIZATION;
DROP USER regress_conversion_user;
-- so there's no need to do that here.
--
--
--- return to the super user
+-- return to the superuser
--
RESET SESSION AUTHORIZATION;
DROP USER regress_conversion_user;