Hello,

the documentation for ALTER EXTENSION is missing the description for
the arguments of the form ADD OPERATOR name (left_type, right_type).

Albeit it's pretty obvious what they are, it is not so obvious what to
do for unary operators (i.e. replace the type on the missing side with
NONE).

Patch to fix the doc attached.

-- Daniele
--- doc/src/sgml/ref/alter_extension.sgml.bak	2011-04-05 01:48:24.013675393 +0100
+++ doc/src/sgml/ref/alter_extension.sgml	2011-04-05 01:55:09.485454466 +0100
@@ -218,6 +218,18 @@
     </varlistentry>
 
     <varlistentry>
+     <term><replaceable class="parameter">left_type</replaceable></term>
+     <term><replaceable class="parameter">right_type</replaceable></term>
+     <listitem>
+      <para>
+       The data types of the operator's left and right operands.
+       If the operator is unary, the missing argument must be replaced
+       by <literal>NONE</>.
+      </para>
+     </listitem>
+    </varlistentry>
+
+    <varlistentry>
      <term><replaceable class="parameter">argname</replaceable></term>
 
      <listitem>
-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to