From 8c5dfbabffa7709bb7ee2ab97a9f230bc37f8c8d Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Sat, 18 Feb 2006 23:14:45 +0000 Subject: [PATCH] Minor SGML style police work. --- doc/src/sgml/ddl.sgml | 22 ++++++++++++---------- doc/src/sgml/dml.sgml | 25 ++++++++++++------------- doc/src/sgml/plpgsql.sgml | 15 ++++++++------- doc/src/sgml/queries.sgml | 9 +++++---- doc/src/sgml/ref/alter_function.sgml | 16 +++++++++------- 5 files changed, 46 insertions(+), 41 deletions(-) diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index d55dffa8f6..e7d590dfac 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -1,4 +1,4 @@ - + Data Definition @@ -77,10 +77,11 @@ - To create a table, you use the aptly named CREATE - TABLE command. In this command you specify at least a - name for the new table, the names of the columns and the data type - of each column. For example: + To create a table, you use the aptly named command. + In this command you specify at least a name for the new table, the + names of the columns and the data type of each column. For + example: CREATE TABLE my_first_table ( first_column text, @@ -136,8 +137,9 @@ CREATE TABLE products ( - If you no longer need a table, you can remove it using the - DROP TABLE command. For example: + If you no longer need a table, you can remove it using the command. + For example: DROP TABLE my_first_table; DROP TABLE products; @@ -1487,9 +1489,9 @@ REVOKE ALL ON accounts FROM PUBLIC; - To create a schema, use the command CREATE - SCHEMA. Give the schema a name of your choice. For - example: + To create a schema, use the command. Give the schema a name + of your choice. For example: CREATE SCHEMA myschema; diff --git a/doc/src/sgml/dml.sgml b/doc/src/sgml/dml.sgml index 879e4510d3..fcea6ad65f 100644 --- a/doc/src/sgml/dml.sgml +++ b/doc/src/sgml/dml.sgml @@ -1,4 +1,4 @@ - + Data Manipulation @@ -39,7 +39,7 @@ To create a new row, use the command. The command requires the + endterm="sql-insert-title"> command. The command requires the table name and a value for each of the columns of the table. For example, consider the products table from : @@ -95,12 +95,12 @@ INSERT INTO products DEFAULT VALUES; - To do bulk loads, that is, inserting a lot of data, - take a look at the command. It is not as flexible as the - command, - but is more efficient. Refer to for more - information on improving bulk loading performance. + When inserting a lot of data at the same time, considering using + the command. + It is not as flexible as the command, but is more efficient. Refer + to for more information on improving + bulk loading performance. @@ -224,11 +224,10 @@ UPDATE mytable SET a = 5, b = 3, c = 1 WHERE a > 0; - You use the command to remove rows; the syntax is - very similar to the UPDATE command. For - instance, to remove all rows from the products table that have a - price of 10, use + You use the + command to remove rows; the syntax is very similar to the + UPDATE command. For instance, to remove all + rows from the products table that have a price of 10, use DELETE FROM products WHERE price = 10; diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index f0f5aec431..4e56f75852 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,5 +1,5 @@ @@ -1594,7 +1594,7 @@ SELECT * FROM some_func(); allow users to define set-returning functions that do not have this limitation. Currently, the point at which data begins being written to disk is controlled by the - + configuration variable. Administrators who have sufficient memory to store larger result sets in memory should consider increasing this parameter. @@ -3642,11 +3642,12 @@ $$ LANGUAGE plpgsql; PostgreSQL gives you two function creation - modifiers to optimize execution: volatility (whether the - function always returns the same result when given the same - arguments) and strictness (whether the - function returns null if any argument is null). Consult the - reference page for details. + modifiers to optimize execution: volatility (whether + the function always returns the same result when given the same + arguments) and strictness (whether the function + returns null if any argument is null). Consult the + reference page for details. diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 9ba2773803..cb8f2a1e5a 100644 --- a/doc/src/sgml/queries.sgml +++ b/doc/src/sgml/queries.sgml @@ -1,4 +1,4 @@ - + Queries @@ -24,8 +24,9 @@ The process of retrieving or the command to retrieve data from a database is called a query. In SQL the - SELECT command is used to specify queries. The - general syntax of the SELECT command is + command is + used to specify queries. The general syntax of the + SELECT command is SELECT select_list FROM table_expression sort_specification @@ -1284,7 +1285,7 @@ SELECT a FROM table1 ORDER BY b; SELECT select_list FROM table_expression - LIMIT { number | ALL } OFFSET number + LIMIT { number | ALL } OFFSET number diff --git a/doc/src/sgml/ref/alter_function.sgml b/doc/src/sgml/ref/alter_function.sgml index 3f05216c07..978847a47b 100644 --- a/doc/src/sgml/ref/alter_function.sgml +++ b/doc/src/sgml/ref/alter_function.sgml @@ -1,5 +1,5 @@ @@ -151,8 +151,8 @@ where action is one of: null. RETURNS NULL ON NULL INPUT or STRICT changes the function so that it is not invoked if any of its arguments are null; instead, a null result - is assumed automatically. See for more information. + is assumed automatically. See for more information. @@ -164,8 +164,9 @@ where action is one of: - Change the volatility of the function to the specified - setting. See for details. + Change the volatility of the function to the specified setting. + See for details. @@ -178,8 +179,9 @@ where action is one of: Change whether the function is a security definer or not. The key word EXTERNAL is ignored for SQL - conformance. See for more - information about this capability. + conformance. See for more information about + this capability.