diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index fe898b0dbe..c2fb66e6a9 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -100,13 +100,7 @@ Inputs Outputs - - - -status - - - + @@ -137,12 +131,7 @@ Outputs Message returned if table or column is not available. - - - - - - + diff --git a/doc/src/sgml/ref/alter_user.sgml b/doc/src/sgml/ref/alter_user.sgml index 674fdcff99..95a72ce2e4 100644 --- a/doc/src/sgml/ref/alter_user.sgml +++ b/doc/src/sgml/ref/alter_user.sgml @@ -92,14 +92,6 @@ ALTER USER username Outputs - - - - - status - - - @@ -120,13 +112,7 @@ ALTER USER username Error message returned if the user specified doesn't exist. - - - - - - - + diff --git a/doc/src/sgml/ref/begin.sgml b/doc/src/sgml/ref/begin.sgml index 279ed6db3a..ab8a0fea2d 100644 --- a/doc/src/sgml/ref/begin.sgml +++ b/doc/src/sgml/ref/begin.sgml @@ -41,14 +41,7 @@ BEGIN [ WORK | TRANSACTION ] Outputs - - - - - status - - - + @@ -68,13 +61,7 @@ BEGIN [ WORK | TRANSACTION ] This indicates that a transaction was already in progress. The current transaction is not affected. - - - - - - - + diff --git a/doc/src/sgml/ref/close.sgml b/doc/src/sgml/ref/close.sgml index 4c8c3f2032..fb9a959884 100644 --- a/doc/src/sgml/ref/close.sgml +++ b/doc/src/sgml/ref/close.sgml @@ -51,16 +51,6 @@ CLOSE cursor Outputs - - - - - - status - - - - @@ -81,12 +71,7 @@ CLOSE cursor This warning is given if cursor is not declared or has already been closed. - - - - - - + diff --git a/doc/src/sgml/ref/cluster.sgml b/doc/src/sgml/ref/cluster.sgml index b195cb4dc3..050fee754e 100644 --- a/doc/src/sgml/ref/cluster.sgml +++ b/doc/src/sgml/ref/cluster.sgml @@ -62,14 +62,6 @@ CLUSTER indexname ON - - - - -status - - - @@ -109,9 +101,7 @@ CLUSTER indexname ON - - - + diff --git a/doc/src/sgml/ref/commands.sgml b/doc/src/sgml/ref/commands.sgml index 812bfeb915..18830352a1 100644 --- a/doc/src/sgml/ref/commands.sgml +++ b/doc/src/sgml/ref/commands.sgml @@ -63,6 +63,10 @@ commands supported by Postgres. + + Utility Applications diff --git a/doc/src/sgml/ref/commit.sgml b/doc/src/sgml/ref/commit.sgml index 0ffc07effe..689220993a 100644 --- a/doc/src/sgml/ref/commit.sgml +++ b/doc/src/sgml/ref/commit.sgml @@ -42,13 +42,7 @@ None Outputs - - - -status - - - + @@ -67,12 +61,7 @@ Message returned if the transaction is successfully committed. If there is no transaction in progress. - - - - - - + diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 174fd26078..77e652849e 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -116,13 +116,7 @@ Specifies that output goes to a pipe or terminal. Outputs - - - - status - - - + @@ -141,12 +135,7 @@ Specifies that output goes to a pipe or terminal. The copy failed for the reason stated in the error message. - - - - - - + diff --git a/doc/src/sgml/ref/create_aggregate.sgml b/doc/src/sgml/ref/create_aggregate.sgml index a5b04daa26..273d6087a9 100644 --- a/doc/src/sgml/ref/create_aggregate.sgml +++ b/doc/src/sgml/ref/create_aggregate.sgml @@ -163,14 +163,7 @@ The initial value for the second transition function argument. Outputs - - - - -status - - - + @@ -179,12 +172,6 @@ The initial value for the second transition function argument. Message returned if the command completes successfully. - - - - - - diff --git a/doc/src/sgml/ref/create_database.sgml b/doc/src/sgml/ref/create_database.sgml index c6fff50184..77a1a8d2e0 100644 --- a/doc/src/sgml/ref/create_database.sgml +++ b/doc/src/sgml/ref/create_database.sgml @@ -65,14 +65,7 @@ CREATE DATABASE name [ WITH LOCATIO Outputs - - - - - status - - - + @@ -102,13 +95,8 @@ CREATE DATABASE name [ WITH LOCATIO There was a problem with creating the required directory; this operation will - need permissions for the postgres user on the specified location. - - - - - - +need permissions for the postgres user on the specified location. + diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index 96cce89bd9..e639845a7c 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -100,14 +100,7 @@ CREATE FUNCTION name ( [ - - - - -status - - - + @@ -116,12 +109,6 @@ CREATE FUNCTION name ( [ This is returned if the command completes successfully. - - - - - - diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml index c77226039f..b552361156 100644 --- a/doc/src/sgml/ref/create_index.sgml +++ b/doc/src/sgml/ref/create_index.sgml @@ -165,13 +165,6 @@ SELECT am.amname AS acc_name, - - - -status - - - @@ -191,12 +184,7 @@ SELECT am.amname AS acc_name, This error occurs if it is impossible to create the index. - - - - - - + diff --git a/doc/src/sgml/ref/create_language.sgml b/doc/src/sgml/ref/create_language.sgml index 5b2bbaa5a4..7554f7dcae 100644 --- a/doc/src/sgml/ref/create_language.sgml +++ b/doc/src/sgml/ref/create_language.sgml @@ -104,14 +104,6 @@ superuser privilege can use Outputs - - - - -status - - - @@ -133,12 +125,6 @@ superuser privilege can use This error is returned if the function funcname() is not found. - - - - - - diff --git a/doc/src/sgml/ref/create_operator.sgml b/doc/src/sgml/ref/create_operator.sgml index 5322927fac..5cb21cda5c 100644 --- a/doc/src/sgml/ref/create_operator.sgml +++ b/doc/src/sgml/ref/create_operator.sgml @@ -18,8 +18,8 @@ 1998-09-09 -CREATE OPERATOR name - ( PROCEDURE = func_name +CREATE OPERATOR name ( + PROCEDURE = func_name [, LEFTARG = type1 ] [, RIGHTARG = type2 ] [, COMMUTATOR = com_op ] @@ -155,14 +155,6 @@ Operator to use for sorting. Outputs - - - - -status - - - @@ -171,12 +163,7 @@ Operator to use for sorting. Message returned if the operator is successfully created. - - - - - - + diff --git a/doc/src/sgml/ref/create_rule.sgml b/doc/src/sgml/ref/create_rule.sgml index 67215937c2..132eddf151 100644 --- a/doc/src/sgml/ref/create_rule.sgml +++ b/doc/src/sgml/ref/create_rule.sgml @@ -102,14 +102,6 @@ CREATE RULE name Outputs - - - - -status - - - @@ -118,11 +110,7 @@ CREATE RULE name Message returned if the rule is successfully created. - - - - - + @@ -204,6 +192,7 @@ Without of the following two rule definitions are accepted by Postgres, the retrieve command will cause Postgres to crash: + Example of a circular rewrite rule combination. @@ -222,6 +211,7 @@ create rule bad_rule_combination_2 is select * from EMP + You must have rule definition access to a class in order diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml index 63644c88ff..e8fb57f3b4 100644 --- a/doc/src/sgml/ref/create_sequence.sgml +++ b/doc/src/sgml/ref/create_sequence.sgml @@ -148,14 +148,7 @@ CREATE SEQUENCE seqname Outputs - - - - -status - - - + @@ -204,12 +197,7 @@ CREATE SEQUENCE seqname If the minimum and maximum values are inconsistant. - - - - - - + diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 4affd2cb26..b0525ff6ed 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -163,14 +163,7 @@ requires the column_constraint_clause - - - - - status - - - + @@ -208,14 +201,7 @@ amcreate: "table" relation already if data type of default value doesn't match the column definition's data type. - - - - - - - @@ -1675,13 +1661,13 @@ affect a column or a table. - CREATE TABLE + CREATE TABLE AS SQL - Language Statements - CREATE TABLE + CREATE TABLE AS Creates a new table diff --git a/doc/src/sgml/ref/create_trigger.sgml b/doc/src/sgml/ref/create_trigger.sgml index 891cf209fd..a871a59cce 100644 --- a/doc/src/sgml/ref/create_trigger.sgml +++ b/doc/src/sgml/ref/create_trigger.sgml @@ -84,14 +84,6 @@ CREATE TRIGGER name { BEFORE | AFTE Outputs - - - - -status - - - @@ -100,12 +92,7 @@ CREATE TRIGGER name { BEFORE | AFTE This message is returned if the trigger is successfully created. - - - - - - + diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml index 71858819cf..1fd0066c52 100644 --- a/doc/src/sgml/ref/create_type.sgml +++ b/doc/src/sgml/ref/create_type.sgml @@ -18,12 +18,9 @@ CREATE TYPE typename ( - -Why are parentheses required around the length parameters? - - INPUT = input_function - , OUTPUT = output_function - , INTERNALLENGTH = (internallength | VARIABLE) + INPUT = input_function + , OUTPUT = output_function + , INTERNALLENGTH = (internallength | VARIABLE) [ , EXTERNALLENGTH = (externallength | VARIABLE) ] [ , ELEMENT = element ] [ , DELIMITER = delimiter ] @@ -169,14 +166,7 @@ EXTERNALLENGTH externallength Outputs - - - - -status - - - + @@ -185,12 +175,7 @@ EXTERNALLENGTH externallength Message returned if the type is successfully created. - - - - - - + diff --git a/doc/src/sgml/ref/create_user.sgml b/doc/src/sgml/ref/create_user.sgml index 3744d5ea3a..2f041e83d9 100644 --- a/doc/src/sgml/ref/create_user.sgml +++ b/doc/src/sgml/ref/create_user.sgml @@ -141,13 +141,6 @@ CREATE USER username - - - -status - - - @@ -169,11 +162,6 @@ CREATE USER username I don't understand this and I don't know how to get this error message. - - - - - diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index 07c3d96639..575e7df153 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -65,14 +65,6 @@ An SQL query which will provide the columns and rows of the view. Outputs - - - - -status - - - @@ -112,12 +104,7 @@ An SQL query which will provide the columns and rows of the view. CREATE VIEW vista AS SELECT 'Hello World'::text - - - - - - + diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml index 090f68ccdf..9f0ce35fd2 100644 --- a/doc/src/sgml/ref/createdb.sgml +++ b/doc/src/sgml/ref/createdb.sgml @@ -208,12 +208,14 @@ Usage To create the database demo using the postmaster on the local host, port 5432: + createdb demo To create the database demo using the postmaster on host eden, port 5000: + createdb -p 5000 -h eden demo diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index f06b3c025b..ad51ae5c66 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -213,7 +213,7 @@ and PGREALM environment variables will be passed on to psql -and processed as described in . +and processed as described in . Once invoked, createuser will ask a series of questions to obtain parameters not specified on diff --git a/doc/src/sgml/ref/current_date.sgml b/doc/src/sgml/ref/current_date.sgml index 9c76ebabfc..7d0e1ec881 100644 --- a/doc/src/sgml/ref/current_date.sgml +++ b/doc/src/sgml/ref/current_date.sgml @@ -7,7 +7,7 @@ - SQL_CURRENT_DATE + CURRENT_DATE Returns the current date @@ -28,27 +28,7 @@ Returns the current date Inputs - - - - - - - - - - - None - - - - - - - - - - +None. @@ -59,26 +39,15 @@ Returns the current date Outputs - - - - - - - - Returns "today" +date + - - - - - - + Returns "today". diff --git a/doc/src/sgml/ref/current_time.sgml b/doc/src/sgml/ref/current_time.sgml index e6b4f21af6..be03cc0bcd 100644 --- a/doc/src/sgml/ref/current_time.sgml +++ b/doc/src/sgml/ref/current_time.sgml @@ -7,7 +7,7 @@ - SQL_CURRENT_TIME + CURRENT_TIME Returns the current local time @@ -28,27 +28,7 @@ Returns the current local time Inputs - - - - - - - - - - - None - - - - - - - - - - +None. @@ -60,26 +40,15 @@ Returns the current local time Outputs - - - - - - - - Returns "now" - + time + - - - - - - + Returns "now" + diff --git a/doc/src/sgml/ref/current_timestamp.sgml b/doc/src/sgml/ref/current_timestamp.sgml index ef68c5fe37..35a84807c1 100644 --- a/doc/src/sgml/ref/current_timestamp.sgml +++ b/doc/src/sgml/ref/current_timestamp.sgml @@ -7,7 +7,7 @@ - SQL_CURRENT_TIMESTAMP + CURRENT_TIMESTAMP Returns the current date and time @@ -30,27 +30,8 @@ Inputs - - - - - - - - - - - None - - - - - - - - - - +None. + @@ -61,26 +42,15 @@ Outputs - - - - - - - - Returns "today" and "now". - +timestamp + - - - - - - + Returns "today" and "now". + diff --git a/doc/src/sgml/ref/current_user.sgml b/doc/src/sgml/ref/current_user.sgml index c13951dffd..a70d7682b2 100644 --- a/doc/src/sgml/ref/current_user.sgml +++ b/doc/src/sgml/ref/current_user.sgml @@ -7,7 +7,7 @@ - SQL_CURRENT_USER + CURRENT_USER Returns the current user name @@ -28,27 +28,8 @@ Inputs - - - - - - - - - - - None - - - - - - - - - - + +None. @@ -59,26 +40,16 @@ Outputs - - - - - - - + - The name of the current user. + username - - - - - - +The name of the current user. + diff --git a/doc/src/sgml/ref/declare.sgml b/doc/src/sgml/ref/declare.sgml index b941815b50..954b3b4af0 100644 --- a/doc/src/sgml/ref/declare.sgml +++ b/doc/src/sgml/ref/declare.sgml @@ -148,7 +148,6 @@ provokes an informational error message. Outputs - diff --git a/doc/src/sgml/ref/delete.sgml b/doc/src/sgml/ref/delete.sgml index 36c85dcba4..4a77e02210 100644 --- a/doc/src/sgml/ref/delete.sgml +++ b/doc/src/sgml/ref/delete.sgml @@ -68,14 +68,6 @@ Outputs - - - - -status - - - @@ -90,12 +82,7 @@ If count is 0, no rows were deleted. - - - - - - + diff --git a/doc/src/sgml/ref/destroyuser.sgml b/doc/src/sgml/ref/destroyuser.sgml index aeda6a560e..03bce6e14e 100644 --- a/doc/src/sgml/ref/destroyuser.sgml +++ b/doc/src/sgml/ref/destroyuser.sgml @@ -190,7 +190,7 @@ and PGREALM environment variables will be passed on to psql -and processed as described in . +and processed as described in . Once invoked, destroyuser diff --git a/doc/src/sgml/ref/drop_aggregate.sgml b/doc/src/sgml/ref/drop_aggregate.sgml index b4cdd0a408..068d69e492 100644 --- a/doc/src/sgml/ref/drop_aggregate.sgml +++ b/doc/src/sgml/ref/drop_aggregate.sgml @@ -65,14 +65,6 @@ DROP AGGREGATE name - - - - -status - - - @@ -92,12 +84,7 @@ DROP AGGREGATE name This message occurs if the aggregate function specified does not exist in the database. - - - - - - + diff --git a/doc/src/sgml/ref/drop_database.sgml b/doc/src/sgml/ref/drop_database.sgml index 5fe7b48ad5..d9f42906a2 100644 --- a/doc/src/sgml/ref/drop_database.sgml +++ b/doc/src/sgml/ref/drop_database.sgml @@ -51,14 +51,7 @@ DROP DATABASE name Outputs - - - - -status - - - + @@ -87,12 +80,7 @@ DROP DATABASE name This message occurs if the specified database does not exist. - - - - - - + diff --git a/doc/src/sgml/ref/drop_function.sgml b/doc/src/sgml/ref/drop_function.sgml index 54f2b42d56..9a63ac71e1 100644 --- a/doc/src/sgml/ref/drop_function.sgml +++ b/doc/src/sgml/ref/drop_function.sgml @@ -62,14 +62,7 @@ DROP FUNCTION name ( [ - - - - -status - - - + @@ -89,12 +82,7 @@ DROP FUNCTION name ( [ This message is given if the function specified does not exist in the current database. - - - - - - + diff --git a/doc/src/sgml/ref/drop_index.sgml b/doc/src/sgml/ref/drop_index.sgml index 05559b5761..8e91465a7b 100644 --- a/doc/src/sgml/ref/drop_index.sgml +++ b/doc/src/sgml/ref/drop_index.sgml @@ -51,14 +51,6 @@ DROP INDEX index_name Outputs - - - - -status - - - @@ -78,12 +70,7 @@ DROP INDEX index_name This message occurs if index_name is not an index in the database. - - - - - - + diff --git a/doc/src/sgml/ref/drop_language.sgml b/doc/src/sgml/ref/drop_language.sgml index 78a2db5f3b..4eb3545736 100644 --- a/doc/src/sgml/ref/drop_language.sgml +++ b/doc/src/sgml/ref/drop_language.sgml @@ -51,14 +51,6 @@ DROP PROCEDURAL LANGUAGE 'langname' Outputs - - - - -status - - - @@ -80,12 +72,7 @@ DROP PROCEDURAL LANGUAGE 'langname' This message occurs if the language "langname" is not found. - - - - - - + diff --git a/doc/src/sgml/ref/drop_operator.sgml b/doc/src/sgml/ref/drop_operator.sgml index 48e3e60d02..df488aa5f5 100644 --- a/doc/src/sgml/ref/drop_operator.sgml +++ b/doc/src/sgml/ref/drop_operator.sgml @@ -63,14 +63,7 @@ DROP OPERATOR id ( - - - - -status - - - + @@ -111,12 +104,7 @@ DROP OPERATOR id ( This message occurs if the specified right unary operator specified does not exist. - - - - - - + diff --git a/doc/src/sgml/ref/drop_rule.sgml b/doc/src/sgml/ref/drop_rule.sgml index 6b543b4d35..f53bd77994 100644 --- a/doc/src/sgml/ref/drop_rule.sgml +++ b/doc/src/sgml/ref/drop_rule.sgml @@ -51,14 +51,6 @@ DROP RULE name Outputs - - - - -status - - - @@ -77,12 +69,6 @@ DROP RULE name This message occurs if the specified rule does not exist. - - - - - - diff --git a/doc/src/sgml/ref/drop_sequence.sgml b/doc/src/sgml/ref/drop_sequence.sgml index 8288ff08d3..ace32b0850 100644 --- a/doc/src/sgml/ref/drop_sequence.sgml +++ b/doc/src/sgml/ref/drop_sequence.sgml @@ -51,14 +51,7 @@ DROP SEQUENCE seqname [, ...] Outputs - - - - -status - - - + @@ -77,12 +70,6 @@ DROP SEQUENCE seqname [, ...] This message occurs if the specified sequence does not exist. - - - - - - diff --git a/doc/src/sgml/ref/drop_table.sgml b/doc/src/sgml/ref/drop_table.sgml index d8fb78f5f0..80527cf01a 100644 --- a/doc/src/sgml/ref/drop_table.sgml +++ b/doc/src/sgml/ref/drop_table.sgml @@ -52,14 +52,6 @@ DROP TABLE table [, ...] Outputs - - - - -status - - - @@ -78,12 +70,6 @@ DROP TABLE table [, ...] If the specified table or view does not exist in the database. - - - - - - diff --git a/doc/src/sgml/ref/drop_trigger.sgml b/doc/src/sgml/ref/drop_trigger.sgml index c4319a35f4..d2729bda82 100644 --- a/doc/src/sgml/ref/drop_trigger.sgml +++ b/doc/src/sgml/ref/drop_trigger.sgml @@ -61,15 +61,8 @@ DROP TRIGGER name ON - - - - -status - - - - + + DROP @@ -87,13 +80,8 @@ DROP TRIGGER name ON This message occurs if the trigger specified does not exist. - - - - - - - + + diff --git a/doc/src/sgml/ref/drop_type.sgml b/doc/src/sgml/ref/drop_type.sgml index d3a25b0309..baad378c0d 100644 --- a/doc/src/sgml/ref/drop_type.sgml +++ b/doc/src/sgml/ref/drop_type.sgml @@ -51,14 +51,6 @@ DROP TYPE typename Outputs - - - - -status - - - @@ -77,12 +69,7 @@ DROP TYPE typename This message occurs if the specified type is not found. - - - - - - + diff --git a/doc/src/sgml/ref/drop_user.sgml b/doc/src/sgml/ref/drop_user.sgml index 1ab89c284b..3de3deaa19 100644 --- a/doc/src/sgml/ref/drop_user.sgml +++ b/doc/src/sgml/ref/drop_user.sgml @@ -52,14 +52,6 @@ DROP USER username Outputs - - - - -status - - - @@ -81,10 +73,7 @@ DROP USER username - - - - + diff --git a/doc/src/sgml/ref/drop_view.sgml b/doc/src/sgml/ref/drop_view.sgml index 90a7bf98a6..e49701815e 100644 --- a/doc/src/sgml/ref/drop_view.sgml +++ b/doc/src/sgml/ref/drop_view.sgml @@ -51,42 +51,28 @@ DROP VIEW view Outputs - - - - -status - - - - - - - DROP - - + + + + +DROP + + The message returned if the command is successful. - - - - - - - ERROR: RewriteGetRuleEventRel: rule "_RETview" not found - - - - This message occurs if the specified view does not exist in - the database. - - - - - - - - + + + + +ERROR: RewriteGetRuleEventRel: rule "_RETview" not found + + + +This message occurs if the specified view does not exist in +the database. + + + diff --git a/doc/src/sgml/ref/explain.sgml b/doc/src/sgml/ref/explain.sgml index 9b2d989964..6ae69d7abc 100644 --- a/doc/src/sgml/ref/explain.sgml +++ b/doc/src/sgml/ref/explain.sgml @@ -70,13 +70,6 @@ NOTICE: QUERY PLAN: Explicit query plan from the Postgres backend. - - - -status - - - EXPLAIN @@ -85,7 +78,6 @@ EXPLAIN Flag sent after query plan is shown. - diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml index fe2a371819..10d5df0c6d 100644 --- a/doc/src/sgml/ref/fetch.sgml +++ b/doc/src/sgml/ref/fetch.sgml @@ -19,7 +19,8 @@ Gets rows using a cursor FETCH [ selector ] [ count ] { IN | FROM } cursor -FETCH [ RELATIVE ] [ { [ # | ALL | NEXT | PRIOR ] } ] FROM ] cursor +FETCH [ RELATIVE ] [ { [ # | ALL | NEXT | PRIOR ] } ] + FROM ] cursor diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml index ce517dbac6..aefb6251b8 100644 --- a/doc/src/sgml/ref/grant.sgml +++ b/doc/src/sgml/ref/grant.sgml @@ -104,16 +104,24 @@ Grant all privileges. The name of an object to which to grant access. The possible objects are: - - - table - - view - - sequence - - index - + + + + +table + + + +view + + + +sequence + + + +index + @@ -154,14 +162,6 @@ Outputs - - - -status - - - - @@ -183,7 +183,6 @@ if it is impossible to give privileges to the specified group or users. - diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index dbbed5958e..ccfcd4bb81 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -93,8 +93,9 @@ Or just let it default to you (the Unix user who runs -Only the Unix superuser can create a database system with a -different user as Postgres superuser. +Only the Unix superuser (root) + can create a database system with an owner +different from the Postgres superuser. diff --git a/doc/src/sgml/ref/insert.sgml b/doc/src/sgml/ref/insert.sgml index 7b32f58bd4..2d90cc65fe 100644 --- a/doc/src/sgml/ref/insert.sgml +++ b/doc/src/sgml/ref/insert.sgml @@ -76,13 +76,7 @@ A valid query. Refer to the SELECT statement for a further description Outputs - - - -status - - - + @@ -105,7 +99,6 @@ Message returned if more than one rows were inserted. is the number of rows inserted. - diff --git a/doc/src/sgml/ref/listen.sgml b/doc/src/sgml/ref/listen.sgml index 97cb349a89..c9ef49ab98 100644 --- a/doc/src/sgml/ref/listen.sgml +++ b/doc/src/sgml/ref/listen.sgml @@ -52,13 +52,6 @@ Outputs - - - -status - - - @@ -78,11 +71,6 @@ Message returned upon successful completion of registration. If this backend is already registered for that notify condition. - - - - - diff --git a/doc/src/sgml/ref/load.sgml b/doc/src/sgml/ref/load.sgml index 6614e73245..66fafdc887 100644 --- a/doc/src/sgml/ref/load.sgml +++ b/doc/src/sgml/ref/load.sgml @@ -54,14 +54,6 @@ Outputs - - - -status - - - - @@ -81,7 +73,6 @@ Message returned if the specified file is not found. The file must be visible to the Postgres backend, with the appropriate full path name specified, to avoid this message. - diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml index e4f8c1bb1e..ca97365410 100644 --- a/doc/src/sgml/ref/lock.sgml +++ b/doc/src/sgml/ref/lock.sgml @@ -51,14 +51,6 @@ Outputs - - - -status - - - - @@ -81,7 +73,6 @@ Message returned if table does not exist. - diff --git a/doc/src/sgml/ref/notify.sgml b/doc/src/sgml/ref/notify.sgml index 414b951f93..73eb775426 100644 --- a/doc/src/sgml/ref/notify.sgml +++ b/doc/src/sgml/ref/notify.sgml @@ -54,14 +54,6 @@ Outputs - - - -status - - - - @@ -70,12 +62,7 @@ NOTIFY Acknowledgement that notify command has executed. - - - - - - + Notify events diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 3909f651d2..2a4f59cba8 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,12 +1,12 @@ - + pg_dump Application - + pg_dump diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index a1cf38cb73..2a71416abe 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,12 +1,12 @@ - + psql Application - + psql @@ -68,7 +68,7 @@ A single query to run. psql will exit on completion. -The full set of command-line arguments and meta-commands are described in a following +The full set of command-line arguments and meta-commands are described in a subsequent section. @@ -106,6 +106,8 @@ to be used, rather than the default local Unix domain sockets. +The port number on which a Postgres server is listening. +Defaults to 5432. @@ -116,6 +118,8 @@ to be used, rather than the default local Unix domain sockets. +The target for display of messages from the client support library. +Not required. @@ -128,7 +132,7 @@ to be used, rather than the default local Unix domain sockets. If PGOPTION is specified, then the options it contains are parsed -.BR before +before any command-line options. diff --git a/doc/src/sgml/ref/reset.sgml b/doc/src/sgml/ref/reset.sgml index fbd5313717..a1292d3f64 100644 --- a/doc/src/sgml/ref/reset.sgml +++ b/doc/src/sgml/ref/reset.sgml @@ -52,14 +52,6 @@ Outputs - - - -status - - - - @@ -71,7 +63,6 @@ RESET VARIABLE variable is successfully reset to its default value.. - diff --git a/doc/src/sgml/ref/revoke.sgml b/doc/src/sgml/ref/revoke.sgml index fcedc85d31..abbd2439d8 100644 --- a/doc/src/sgml/ref/revoke.sgml +++ b/doc/src/sgml/ref/revoke.sgml @@ -109,16 +109,23 @@ Rescind all privileges. The name of an object from which to revoke access. The possible objects are: - - - table - - view - - sequence - - index - + + + +table + + + +view + + + +sequence + + + +index + @@ -166,14 +173,6 @@ Outputs - - - -status - - - - @@ -193,7 +192,6 @@ ERROR to revoke privileges from a group or users. - diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index 491f7a16ae..a1b0ec4fe3 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -1,13 +1,13 @@ - SELECT +SELECT SQL - Language Statements - SELECT +SELECT Retrieve rows from a table or view. @@ -170,14 +170,6 @@ SELECT [ALL|DISTINCT [ON column] ] - - - status - - - - - count @@ -185,10 +177,6 @@ SELECT [ALL|DISTINCT [ON column] ] The count of rows returned by the query. - - - - @@ -569,16 +557,16 @@ SELECT actors.name - SELECT INTO +SELECT INTO SQL - Language Statements - SELECT INTO +SELECT INTO - Create a new table from an existing table or view +Create a new table from an existing table or view diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml index d187d46bb8..3328d73341 100644 --- a/doc/src/sgml/ref/set.sgml +++ b/doc/src/sgml/ref/set.sgml @@ -470,14 +470,6 @@ Outputs - - - -status - - - - @@ -494,8 +486,7 @@ Outputs If the command fails to set variable. - - + diff --git a/doc/src/sgml/ref/show.sgml b/doc/src/sgml/ref/show.sgml index 4bbc18e9d5..36d605eacc 100644 --- a/doc/src/sgml/ref/show.sgml +++ b/doc/src/sgml/ref/show.sgml @@ -52,14 +52,6 @@ Outputs - - - -status - - - - @@ -92,7 +84,6 @@ SHOW VARIABLE If the TZ environment variable is not set. - diff --git a/doc/src/sgml/ref/unlisten.sgml b/doc/src/sgml/ref/unlisten.sgml index cc18757675..46ed06c903 100644 --- a/doc/src/sgml/ref/unlisten.sgml +++ b/doc/src/sgml/ref/unlisten.sgml @@ -60,13 +60,6 @@ Outputs - - - -status - - - @@ -75,12 +68,7 @@ Outputs Acknowledgement that statement has executed. - - - - - - + @@ -102,7 +90,7 @@ The special condition wildcard "*" cancels all listener registrations for the current session. - + contains a more extensive discussion of the use of LISTEN and NOTIFY. diff --git a/doc/src/sgml/ref/update.sgml b/doc/src/sgml/ref/update.sgml index 3de2b83f6d..a02e022329 100644 --- a/doc/src/sgml/ref/update.sgml +++ b/doc/src/sgml/ref/update.sgml @@ -92,7 +92,7 @@ The name of a column in table. Outputs - +