diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5a47ce4343..8d4403a023 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -5973,17 +5973,6 @@ SELECT regexp_matches('foobarbequebazilbarfbonk', '(b[^b]+)(b[^b]+)', 'g'); In most cases regexp_matches() should be used with the g flag, since if you only want the first match, it's easier and more efficient to use regexp_match(). - However, regexp_match() only exists - in PostgreSQL version 10 and up. When working in older - versions, a common trick is to place a regexp_matches() - call in a sub-select, for example: - -SELECT col1, (SELECT regexp_matches(col2, '(bar)(beque)')) FROM tab; - - This produces a text array if there's a match, or NULL if - not, the same as regexp_match() would do. Without the - sub-select, this query would produce no output at all for table rows - without a match, which is typically not the desired behavior. diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgml index 4a84461b28..d07153fd31 100644 --- a/doc/src/sgml/ref/create_role.sgml +++ b/doc/src/sgml/ref/create_role.sgml @@ -242,19 +242,10 @@ in sync when changing the above synopsis! option. If no password is specified, the password will be set to null and password authentication will always fail for that user. A null password can optionally be written explicitly as - PASSWORD NULL. + PASSWORD NULL. Specifying an empty string will + also set the password to null. - - - Specifying an empty string will also set the password to null, - but that was not the case before PostgreSQL - version 10. In earlier versions, an empty string could be used, - or not, depending on the authentication method and the exact - version, and libpq would refuse to use it in any case. - To avoid the ambiguity, specifying an empty string should be - avoided. - - + The password is always stored encrypted in the system catalogs. The ENCRYPTED keyword has no effect, but is accepted for diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml index 79d3e657c3..257d22f92f 100644 --- a/doc/src/sgml/ref/pg_basebackup.sgml +++ b/doc/src/sgml/ref/pg_basebackup.sgml @@ -587,9 +587,8 @@ PostgreSQL documentation option is also used. - If this option is not specified and the server supports temporary - replication slots (version 10 and later), then a temporary replication - slot is automatically used for WAL streaming. + If this option is not specified, then a temporary replication slot is + automatically used for WAL streaming.