diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-26 22:37:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-26 22:37:50 +0000 |
commit | 0c2d7e39f9089dc1c65d87e656f792f4910460bf (patch) | |
tree | 14f8e7307a1594977d01f91b1177df9b0288dcca /src/backend/commands/user.c | |
parent | af019fb9aec0274875a10a89c68c8fecb949349f (diff) | |
download | postgresql-0c2d7e39f9089dc1c65d87e656f792f4910460bf.tar.gz postgresql-0c2d7e39f9089dc1c65d87e656f792f4910460bf.zip |
Minor correction: cause ALTER ROLE role ROLE rolenames to behave
sensibly, even though we don't document it.
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r-- | src/backend/commands/user.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index 493a6bf7904..6ef612dc4a9 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.158 2005/07/26 16:38:26 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.159 2005/07/26 22:37:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -377,6 +377,10 @@ CreateRole(CreateRoleStmt *stmt) /* * ALTER ROLE + * + * Note: the rolemembers option accepted here is intended to support the + * backwards-compatible ALTER GROUP syntax. Although it will work to say + * "ALTER ROLE role ROLE rolenames", we don't document it. */ void AlterRole(AlterRoleStmt *stmt) |