diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml
index bd4114688f6..488f86811c7 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
@@ -204,7 +204,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..ddf27fd4d7e 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..6185f644825 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 4907789b272..6d67f22a6b9 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1,5 +1,5 @@
@@ -922,8 +922,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..17b19468b01 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..67481c19a31 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..da22aa8696c 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..387dd07f9e6 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..5196ae4b899 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..5f872499891 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..92602756fd4 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..665ce85e3a0 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..9b35d88c040 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..d8830498c69 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 166f7aefa08..1c5d871d89a 100644
--- a/doc/src/sgml/ref/load.sgml
+++ b/doc/src/sgml/ref/load.sgml
@@ -1,5 +1,5 @@
@@ -56,7 +56,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 72543dc7ebb..c63fc085c3e 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..2b8334d3ee9 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..c14911638be 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