git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bde39ee) | patch
Remove redundant CREATEUSER/NOCREATEUSER options in CREATE ROLE et al.
2015年10月22日 16:33:51 +0000 (09:33 -0700)
2015年10月22日 16:34:03 +0000 (09:34 -0700)
commit d371bebd3d16949171282c8252dfd6f82d2e7378
Remove redundant CREATEUSER/NOCREATEUSER options in CREATE ROLE et al.

Once upon a time we did not have a separate CREATEROLE privilege, and
CREATEUSER effectively meant SUPERUSER. When we invented CREATEROLE
(in 8.1) we also added SUPERUSER so as to have a less confusing keyword
for this role property. However, we left CREATEUSER in place as a
deprecated synonym for SUPERUSER, because of backwards-compatibility
concerns. It's still there and is still confusing people, as for example
in bug #13694 from Justin Catterson. 9.6 will be ten years or so later,
which surely ought to be long enough to end the deprecation and just
remove these old keywords. Hence, do so.
doc/src/sgml/ref/alter_role.sgml diff | blob | blame | history
doc/src/sgml/ref/alter_user.sgml diff | blob | blame | history
doc/src/sgml/ref/create_group.sgml diff | blob | blame | history
doc/src/sgml/ref/create_role.sgml diff | blob | blame | history
doc/src/sgml/ref/create_user.sgml diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/utils/mb/conversion_procs/regress_prolog diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/test/regress/expected/conversion.out diff | blob | blame | history
src/test/regress/sql/conversion.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /