Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e0e555

Browse files
committed
Fix typos in comment and log message.
1 parent6275f5d commit9e0e555

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/backend/catalog/aclchk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5104,7 +5104,7 @@ pg_publication_ownercheck(Oid pub_oid, Oid roleid)
51045104
}
51055105

51065106
/*
5107-
* Ownership check foran subscription (specified by OID).
5107+
* Ownership check fora subscription (specified by OID).
51085108
*/
51095109
bool
51105110
pg_subscription_ownercheck(Oidsub_oid,Oidroleid)

‎src/backend/commands/subscriptioncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ AlterSubscriptionOwner_internal(Relation rel, HeapTuple tup, Oid newOwnerId)
912912
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
913913
errmsg("permission denied to change owner of subscription \"%s\"",
914914
NameStr(form->subname)),
915-
errhint("The owner ofan subscription must be a superuser.")));
915+
errhint("The owner ofa subscription must be a superuser.")));
916916

917917
form->subowner=newOwnerId;
918918
CatalogTupleUpdate(rel,&tup->t_self,tup);

‎src/test/regress/expected/subscription.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ ALTER SUBSCRIPTION testsub_foo RENAME TO testsub;
105105
-- fail - new owner must be superuser
106106
ALTER SUBSCRIPTION testsub OWNER TO regress_subscription_user2;
107107
ERROR: permission denied to change owner of subscription "testsub"
108-
HINT: The owner ofan subscription must be a superuser.
108+
HINT: The owner ofa subscription must be a superuser.
109109
ALTER ROLE regress_subscription_user2 SUPERUSER;
110110
-- now it works
111111
ALTER SUBSCRIPTION testsub OWNER TO regress_subscription_user2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp