diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml
index 421e059e7bd..4f1bc6130aa 100644
--- a/doc/src/sgml/extend.sgml
+++ b/doc/src/sgml/extend.sgml
@@ -856,7 +856,7 @@ SELECT pg_catalog.pg_extension_config_dump('my_config', 'WHERE NOT standard_entr
dynamically from one version to the next, you should provide
update scripts that make the necessary changes to go from
one version to the next. Update scripts have names following the pattern
- extension--oldversion--newversion.sql
+ extension--old_version--target_version.sql
(for example, foo--1.0--1.1.sql contains the commands to modify
version 1.0 of extension foo into version
1.1).
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index 9f3c85bf7f9..e2663063f17 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -1002,11 +1002,11 @@ COPY table_name [ ( delimiter' ]
+ [ DELIMITER [ AS ] 'delimiter_character' ]
[ NULL [ AS ] 'null string' ]
[ CSV [ HEADER ]
- [ QUOTE [ AS ] 'quote' ]
- [ ESCAPE [ AS ] 'escape' ]
+ [ QUOTE [ AS ] 'quote_character' ]
+ [ ESCAPE [ AS ] 'escape_character' ]
[ FORCE NOT NULL column_name [, ...] ] ] ]
COPY { table_name [ ( column_name [, ...] ) ] | ( query ) }
@@ -1014,11 +1014,11 @@ COPY { table_name [ ( delimiter' ]
+ [ DELIMITER [ AS ] 'delimiter_character' ]
[ NULL [ AS ] 'null string' ]
[ CSV [ HEADER ]
- [ QUOTE [ AS ] 'quote' ]
- [ ESCAPE [ AS ] 'escape' ]
+ [ QUOTE [ AS ] 'quote_character' ]
+ [ ESCAPE [ AS ] 'escape_character' ]
[ FORCE QUOTE { column_name [, ...] | * } ] ] ]
@@ -1034,13 +1034,13 @@ COPY { table_name [ (
COPY [ BINARY ] table_name [ WITH OIDS ]
FROM { 'filename' | STDIN }
- [ [USING] DELIMITERS 'delimiter' ]
- [ WITH NULL AS 'null string' ]
+ [ [USING] DELIMITERS 'delimiter_character' ]
+ [ WITH NULL AS 'null_string' ]
COPY [ BINARY ] table_name [ WITH OIDS ]
TO { 'filename' | STDOUT }
- [ [USING] DELIMITERS 'delimiter' ]
- [ WITH NULL AS 'null string' ]
+ [ [USING] DELIMITERS 'delimiter_character' ]
+ [ WITH NULL AS 'null_string' ]
diff --git a/doc/src/sgml/ref/set_role.sgml b/doc/src/sgml/ref/set_role.sgml
index 9ab0d6af04c..a4842f363c8 100644
--- a/doc/src/sgml/ref/set_role.sgml
+++ b/doc/src/sgml/ref/set_role.sgml
@@ -64,7 +64,7 @@ RESET ROLE
Using this command, it is possible to either add privileges or restrict
- one's privileges. If the session user role has the INHERITS
+ one's privileges. If the session user role has the INHERIT
attribute, then it automatically has all the privileges of every role that
it could SET ROLE to; in this case SET ROLE
effectively drops all the privileges assigned directly to the session user