diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml
index b7d5e606d3e..95934a5f9ec 100644
--- a/doc/src/sgml/ref/create_domain.sgml
+++ b/doc/src/sgml/ref/create_domain.sgml
@@ -1,11 +1,11 @@
-
+
CREATE DOMAIN
SQL - Language Statements
@@ -214,7 +214,7 @@ CREATE TABLE countrylist (id INT4, country country_code);
See Also
-
+ PostgreSQL Programmer's Guide
diff --git a/doc/src/sgml/ref/create_language.sgml b/doc/src/sgml/ref/create_language.sgml
index 1d6e61f0736..1c3dc1b8cc1 100644
--- a/doc/src/sgml/ref/create_language.sgml
+++ b/doc/src/sgml/ref/create_language.sgml
@@ -1,5 +1,5 @@
@@ -296,11 +296,11 @@ CREATE LANGUAGE plsample
-
+
-
-
-
+
+
+ PostgreSQL Programmer's Guide
diff --git a/doc/src/sgml/ref/create_rule.sgml b/doc/src/sgml/ref/create_rule.sgml
index 998d075a645..b8fdff96ec5 100644
--- a/doc/src/sgml/ref/create_rule.sgml
+++ b/doc/src/sgml/ref/create_rule.sgml
@@ -1,5 +1,5 @@
@@ -227,7 +227,7 @@ CREATE RULE
- creates a dummy table (with no underlying
+ creates a dummy table (with no underlying
storage) and associates an ON SELECT rule with it. The system will not
allow updates to the view, since it knows there is no real table there.
You can create the
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 9e9525775c7..0deadf0b634 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1,5 +1,5 @@
@@ -878,8 +878,8 @@ CREATE ASSERTION name CHECK ( condition<
See Also
-
-
+
+
diff --git a/doc/src/sgml/ref/create_table_as.sgml b/doc/src/sgml/ref/create_table_as.sgml
index d027ff506f2..d0974444af5 100644
--- a/doc/src/sgml/ref/create_table_as.sgml
+++ b/doc/src/sgml/ref/create_table_as.sgml
@@ -1,11 +1,11 @@
- CREATE TABLE AS
+ CREATE TABLE ASSQL - Language Statements
@@ -57,7 +57,7 @@ CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name
If specified, the table is created as a temporary table.
- Refer to for details.
+ Refer to for details.
@@ -89,7 +89,7 @@ CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name
A query statement (that is, a SELECT
command). Refer to
-
+
for a description of the allowed syntax.
@@ -101,8 +101,8 @@ CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_nameDiagnostics
- Refer to and
-
+ Refer to and
+
for a summary of possible output messages.
@@ -112,7 +112,7 @@ CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name
This command is functionally equivalent to , but it is preferred since it is less
+ linkend="sql-selectinto" endterm="sql-selectinto-title">, but it is preferred since it is less
likely to be confused with other uses of the SELECT
... INTO syntax.
@@ -143,10 +143,10 @@ CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_nameSee Also
-
-
-
-
+
+
+
+
diff --git a/doc/src/sgml/ref/create_trigger.sgml b/doc/src/sgml/ref/create_trigger.sgml
index 1134cd800e2..1c31f139470 100644
--- a/doc/src/sgml/ref/create_trigger.sgml
+++ b/doc/src/sgml/ref/create_trigger.sgml
@@ -1,5 +1,5 @@
@@ -181,7 +181,7 @@ CREATE TRIGGER
- Refer to the command for
+ Refer to the command for
information on how to remove triggers.
@@ -302,9 +302,9 @@ CREATE TABLE distributors (
See Also
-
-
-
+
+
+ PostgreSQL Programmer's Guide
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index 9243bda86fa..2d00c32d6a8 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -1,5 +1,5 @@
@@ -466,8 +466,8 @@ CREATE FUNCTION getfoo() RETURNS SETOF compfoo AS 'SELECT fooid, fooname FROM fo
See Also
-
-
+
+ PostgreSQL Programmer's Guide
diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml
index 9977cb9ae0b..cf35c6a4c69 100644
--- a/doc/src/sgml/ref/create_view.sgml
+++ b/doc/src/sgml/ref/create_view.sgml
@@ -1,5 +1,5 @@
@@ -61,7 +61,7 @@ class="PARAMETER">column name list ) ] AS SELECT
- Refer to for more information
+ Refer to for more information
about valid arguments.
@@ -169,7 +169,7 @@ CREATE VIEW vista AS SELECT text 'Hello World'
update, or delete on a view. You can get the effect of an updatable
view by creating rules that rewrite inserts, etc. on the view into
appropriate actions on other tables. For more information see
- .
+ .
diff --git a/doc/src/sgml/ref/drop_domain.sgml b/doc/src/sgml/ref/drop_domain.sgml
index 9def5e5c76c..bdefe51c04c 100644
--- a/doc/src/sgml/ref/drop_domain.sgml
+++ b/doc/src/sgml/ref/drop_domain.sgml
@@ -1,5 +1,5 @@
@@ -144,7 +144,7 @@ DROP DOMAIN box;
See Also
-
+
diff --git a/doc/src/sgml/ref/drop_function.sgml b/doc/src/sgml/ref/drop_function.sgml
index 2031536434f..560304dd611 100644
--- a/doc/src/sgml/ref/drop_function.sgml
+++ b/doc/src/sgml/ref/drop_function.sgml
@@ -1,5 +1,5 @@
@@ -128,7 +128,7 @@ WARNING: RemoveFunction: Function "name
Refer to
-
+
for information on creating functions.
@@ -158,7 +158,7 @@ DROP FUNCTION sqrt(integer);
See Also
-
+
diff --git a/doc/src/sgml/ref/drop_trigger.sgml b/doc/src/sgml/ref/drop_trigger.sgml
index c154d8117db..55230af3bcc 100644
--- a/doc/src/sgml/ref/drop_trigger.sgml
+++ b/doc/src/sgml/ref/drop_trigger.sgml
@@ -1,5 +1,5 @@
@@ -166,7 +166,7 @@ DROP TRIGGER if_dist_exists ON films;
See Also
-
+
diff --git a/doc/src/sgml/ref/drop_type.sgml b/doc/src/sgml/ref/drop_type.sgml
index 097a150c0e7..4e21fd12f7b 100644
--- a/doc/src/sgml/ref/drop_type.sgml
+++ b/doc/src/sgml/ref/drop_type.sgml
@@ -1,5 +1,5 @@
@@ -140,7 +140,7 @@ DROP TYPE box;
See Also
-
+
diff --git a/doc/src/sgml/ref/drop_view.sgml b/doc/src/sgml/ref/drop_view.sgml
index 52711d984ef..7733818c8b5 100644
--- a/doc/src/sgml/ref/drop_view.sgml
+++ b/doc/src/sgml/ref/drop_view.sgml
@@ -1,5 +1,5 @@
@@ -122,7 +122,7 @@ ERROR: view name does not exist
Notes
- Refer to
+ Refer to
for information on how to create views.
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index e64ec84bc26..fc0d3ac21fb 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -1,5 +1,5 @@
@@ -375,7 +375,7 @@ GRANT privilege [, ...]
See Also
-
+
diff --git a/doc/src/sgml/ref/load.sgml b/doc/src/sgml/ref/load.sgml
index 38fad94aaaf..0acea0f939c 100644
--- a/doc/src/sgml/ref/load.sgml
+++ b/doc/src/sgml/ref/load.sgml
@@ -1,5 +1,5 @@
@@ -55,7 +55,7 @@ LOAD 'filename'
See Also
- ,
+ ,
PostgreSQL Programmer's Guide
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index c380bb499e3..914033f25ed 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -1,4 +1,4 @@
-
+
@@ -395,7 +395,7 @@
which might require manual interaction (e.g., passwords). If
you use the option,
then pg_restore will instead use the command. This has
+ linkend="sql-set-session-authorization" endterm="sql-set-session-authorization-title"> command. This has
the same effect, but it requires that the user restoring the
archive is a database superuser. This option effectively
overrides the option.
diff --git a/doc/src/sgml/ref/revoke.sgml b/doc/src/sgml/ref/revoke.sgml
index 3bc30cfd49a..de5bbb8d7fd 100644
--- a/doc/src/sgml/ref/revoke.sgml
+++ b/doc/src/sgml/ref/revoke.sgml
@@ -1,5 +1,5 @@
@@ -71,7 +71,7 @@ REVOKE { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
Use 's \z command to
display the privileges granted on existing objects. See also for information about the format.
+ linkend="sql-grant" endterm="sql-grant-title"> for information about the format.
@@ -130,7 +130,7 @@ REVOKE [ GRANT OPTION FOR ] { SELECT | INSERT | UPDATE | DELETE | REFERENCES }
See Also
-
+
diff --git a/doc/src/sgml/ref/select_into.sgml b/doc/src/sgml/ref/select_into.sgml
index 8eed28791a1..0f8217a75ea 100644
--- a/doc/src/sgml/ref/select_into.sgml
+++ b/doc/src/sgml/ref/select_into.sgml
@@ -1,5 +1,5 @@
@@ -50,7 +50,7 @@ SELECT [ ALL | DISTINCT [ ON ( expression
If specified, the table is created as a temporary table.
- Refer to for details.
+ Refer to for details.
@@ -68,7 +68,7 @@ SELECT [ ALL | DISTINCT [ ON ( expression
All other inputs are described in detail for
- .
+ .
@@ -82,9 +82,9 @@ SELECT [ ALL | DISTINCT [ ON ( expression
Refer to
-
+
and
-
+
for a summary of possible output messages.
@@ -107,7 +107,7 @@ SELECT [ ALL | DISTINCT [ ON ( expression
-
+
is functionally equivalent to SELECT INTO.
CREATE TABLE AS is the recommended syntax, since
SELECT INTO is not standard. In fact, this form of