]> git.ipfire.org Git - thirdparty/postgresql.git/commit
createuser: Update docs to reflect defaults
authorJohn Naylor <john.naylor@postgresql.org>
Wed, 7 Jan 2026 09:02:19 +0000 (16:02 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Wed, 7 Jan 2026 09:05:57 +0000 (16:05 +0700)
commit818ab0116ab35262bf6f8f2f707e2bb44f240b69
treef4fb94e491fa7f776bd96c79b6b3542d31a4d40c
parentae45c72960d0db19f60339876a771c5410507f13
createuser: Update docs to reflect defaults

Commit c7eab0e97 changed the default password_encryption setting to
'scram-sha-256', so update the example for creating a user with an
assigned password.

In addition, commit 08951a7c9 added new options that in turn pass
default tokens NOBYPASSRLS and NOREPLICATION to the CREATE ROLE
command, so fix this omission as well for v16 and later.

Reported-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/cff1ea60-c67d-4320-9e33-094637c2c4fb%40iki.fi
Backpatch-through: 14
doc/src/sgml/ref/createuser.sgml