public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniele Varrazzo <[email protected]>
To: [email protected]
Subject: Missing doc for operator args in alter extension
Date: Tue, 5 Apr 2011 02:10:19 +0100
Message-ID: <[email protected]> (raw)

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


Attachments:

  [text/x-patch] alter_extension_operator_args.patch (738B, 2-alter_extension_operator_args.patch)
  download | inline diff:
--- 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>


view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Missing doc for operator args in alter extension
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox