From 04e14fa3505e72d0aab786bc4026eb14a8e64b74 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 8 May 2001 17:51:30 +0000 Subject: [PATCH] drop_function.sgml: =================== In Notes: Refer to CREATE FUNCTION for information on creating aggregate functions. ^^^^^^^^^^^^^^^^^^^ I assume it must read C function instead. In Compatibility SQL/PSM: SQL/PSM is a proposed standard. We had that before: remove proposed. drop_index.sgml: ================ : Removes existing indexes from a database as far as I can see index should be singular. The command description is written as if only one index can be removed at a time. Interestingly enough, in v7.0.2 it was in fact singular. Am I mistaken here? drop_operator.sgml: =================== In Outputs the arguments are referred to as type and type2, but the synopsis and Inputs section these are left_type and right_type, respectively. Also, oper is used in Outputs versus id in Inputs/Synopsis. In the translation I follow the replaceables used in the Inputs/Synopsis part. Frank Wegmann --- doc/src/sgml/ref/create_operator.sgml | 9 +++++---- doc/src/sgml/ref/drop_index.sgml | 4 ++-- doc/src/sgml/ref/drop_operator.sgml | 8 ++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/src/sgml/ref/create_operator.sgml b/doc/src/sgml/ref/create_operator.sgml index 089fcebb07..a4daba49cb 100644 --- a/doc/src/sgml/ref/create_operator.sgml +++ b/doc/src/sgml/ref/create_operator.sgml @@ -1,5 +1,5 @@ @@ -24,7 +24,8 @@ Postgres documentation CREATE OPERATOR name ( PROCEDURE = func_name - [, LEFTARG = type1 ] [, RIGHTARG = type2 ] + [, LEFTARG = lefttype + ] [, RIGHTARG = righttype ] [, COMMUTATOR = com_op ] [, NEGATOR = neg_op ] [, RESTRICT = res_proc ] [, JOIN = join_proc ] [, HASHES ] [, SORT1 = left_sort_op ] [, SORT2 = right_sort_op ] ) @@ -57,7 +58,7 @@ CREATE OPERATOR name ( PROCEDURE = - type1 + lefttype The type of the left-hand argument of the operator, if any. @@ -66,7 +67,7 @@ CREATE OPERATOR name ( PROCEDURE = - type2 + righttype The type of the right-hand argument of the operator, if any. diff --git a/doc/src/sgml/ref/drop_index.sgml b/doc/src/sgml/ref/drop_index.sgml index a72eef030d..ad9edd92f1 100644 --- a/doc/src/sgml/ref/drop_index.sgml +++ b/doc/src/sgml/ref/drop_index.sgml @@ -1,5 +1,5 @@ @@ -15,7 +15,7 @@ Postgres documentation DROP INDEX - Removes existing indexes from a database + Removes an index from the database diff --git a/doc/src/sgml/ref/drop_operator.sgml b/doc/src/sgml/ref/drop_operator.sgml index b8a24c4e5b..375cd0e596 100644 --- a/doc/src/sgml/ref/drop_operator.sgml +++ b/doc/src/sgml/ref/drop_operator.sgml @@ -1,5 +1,5 @@ @@ -88,7 +88,7 @@ DROP -ERROR: RemoveOperator: binary operator 'oper' taking 'type' and 'type2' does not exist +ERROR: RemoveOperator: binary operator 'oper' taking 'lefttype' and 'righttype' does not exist @@ -98,7 +98,7 @@ ERROR: RemoveOperator: binary operator 'oper -ERROR: RemoveOperator: left unary operator 'oper' taking 'type' does not exist +ERROR: RemoveOperator: left unary operator 'oper' taking 'lefttype' does not exist @@ -109,7 +109,7 @@ ERROR: RemoveOperator: left unary operator 'oper -ERROR: RemoveOperator: right unary operator 'oper' taking 'type' does not exist +ERROR: RemoveOperator: right unary operator 'oper' taking 'righttype' does not exist -- 2.11.0