]> granicus.if.org Git - postgresql/commitdiff
Fix BRIN supported operators table
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 20 Jun 2015 15:26:36 +0000 (12:26 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 20 Jun 2015 15:26:36 +0000 (12:26 -0300)
Some of the entries in the inclusion opclasses where missing operators,
and we had an entry for inet_inclusion_ops instead of
network_inclusion_ops.  Sort the operators within each opclass by
strategy number, just to make it easier to spot mistakes.

Also sort the rows by data type name, rather than OID.

doc/src/sgml/brin.sgml

index 4d8fd20c1c41936aac67ee4630286e8518f102fd..e25f09c6800cfab39bde20469a09abf9303a7c8f 100644 (file)
@@ -89,8 +89,8 @@
    </thead>
    <tbody>
     <row>
-     <entry><literal>bytea_minmax_ops</literal></entry>
-     <entry><type>bytea</type></entry>
+     <entry><literal>abstime_minmax_ops</literal></entry>
+     <entry><type>abstime</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>char_minmax_ops</literal></entry>
-     <entry><type>"char"</type></entry>
+     <entry><literal>int8_minmax_ops</literal></entry>
+     <entry><type>bigint</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>name_minmax_ops</literal></entry>
-     <entry><type>name</type></entry>
+     <entry><literal>bit_minmax_ops</literal></entry>
+     <entry><type>bit</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>int8_minmax_ops</literal></entry>
-     <entry><type>bigint</type></entry>
+     <entry><literal>varbit_minmax_ops</literal></entry>
+     <entry><type>bit varying</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>int2_minmax_ops</literal></entry>
-     <entry><type>smallint</type></entry>
+     <entry><literal>box_inclusion_ops</></entry>
+     <entry><type>box</type></entry>
+     <entry>
+      <literal>&lt;&lt;</>
+      <literal>&amp;&lt;</>
+      <literal>&amp;&amp;</>
+      <literal>&amp;&gt;</>
+      <literal>&gt;&gt;</>
+      <literal>~=</>
+      <literal>@&gt;</>
+      <literal>&lt;@</>
+      <literal>&amp;&lt;|</>
+      <literal>&lt;&lt;|</>
+      <literal>|&gt;&gt;</literal>
+      <literal>|&amp;&gt;</>
+     </entry>
+    </row>
+    <row>
+     <entry><literal>bytea_minmax_ops</literal></entry>
+     <entry><type>bytea</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>int4_minmax_ops</literal></entry>
-     <entry><type>integer</type></entry>
+     <entry><literal>bpchar_minmax_ops</literal></entry>
+     <entry><type>character</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>text_minmax_ops</literal></entry>
-     <entry><type>text</type></entry>
+     <entry><literal>char_minmax_ops</literal></entry>
+     <entry><type>"char"</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>oid_minmax_ops</literal></entry>
-     <entry><type>oid</type></entry>
+     <entry><literal>date_minmax_ops</literal></entry>
+     <entry><type>date</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>tid_minmax_ops</literal></entry>
-     <entry><type>tid</type></entry>
+     <entry><literal>float8_minmax_ops</literal></entry>
+     <entry><type>double precision</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>float4_minmax_ops</literal></entry>
-     <entry><type>real</type></entry>
+     <entry><literal>inet_minmax_ops</literal></entry>
+     <entry><type>inet</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>float8_minmax_ops</literal></entry>
-     <entry><type>double precision</type></entry>
+     <entry><literal>network_inclusion_ops</literal></entry>
+     <entry><type>inet</type></entry>
      <entry>
-      <literal>&lt;</literal>
-      <literal>&lt;=</literal>
+      <literal>&amp;&amp;</>
+      <literal>&gt;&gt;=</>
+      <literal>&lt;&lt;=</literal>
       <literal>=</literal>
-      <literal>&gt;=</literal>
-      <literal>&gt;</literal>
+      <literal>&gt;&gt;</>
+      <literal>&lt;&lt;</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>abstime_minmax_ops</literal></entry>
-     <entry><type>abstime</type></entry>
+     <entry><literal>int4_minmax_ops</literal></entry>
+     <entry><type>integer</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>reltime_minmax_ops</literal></entry>
-     <entry><type>reltime</type></entry>
+     <entry><literal>interval_minmax_ops</literal></entry>
+     <entry><type>interval</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>inet_minmax_ops</literal></entry>
-     <entry><type>inet</type></entry>
+     <entry><literal>name_minmax_ops</literal></entry>
+     <entry><type>name</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>inet_inclusion_ops</literal></entry>
-     <entry><type>inet</type></entry>
+     <entry><literal>numeric_minmax_ops</literal></entry>
+     <entry><type>numeric</type></entry>
      <entry>
-      <literal>&amp;&amp;</>
-      <literal>&gt;&gt;</>
-      <literal>&gt;&gt;=</>
-      <literal>&lt;&lt;</literal>
-      <literal>&lt;&lt;=</literal>
+      <literal>&lt;</literal>
+      <literal>&lt;=</literal>
       <literal>=</literal>
+      <literal>&gt;=</literal>
+      <literal>&gt;</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>bpchar_minmax_ops</literal></entry>
-     <entry><type>character</type></entry>
+     <entry><literal>pg_lsn_minmax_ops</literal></entry>
+     <entry><type>pg_lsn</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>date_minmax_ops</literal></entry>
-     <entry><type>date</type></entry>
+     <entry><literal>oid_minmax_ops</literal></entry>
+     <entry><type>oid</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>time_minmax_ops</literal></entry>
-     <entry><type>time without time zone</type></entry>
+     <entry><literal>range_inclusion_ops</></entry>
+     <entry><type>any range type</type></entry>
      <entry>
+      <literal>&lt;&lt;</>
+      <literal>&amp;&lt;</>
+      <literal>&amp;&amp;</>
+      <literal>&amp;&gt;</>
+      <literal>&gt;&gt;</>
+      <literal>@&gt;</>
+      <literal>&lt;@</>
+      <literal>-|-</>
+      <literal>=</>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
       <literal>=</literal>
-      <literal>&gt;=</literal>
       <literal>&gt;</literal>
+      <literal>&gt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>timestamp_minmax_ops</literal></entry>
-     <entry><type>timestamp without time zone</type></entry>
+     <entry><literal>float4_minmax_ops</literal></entry>
+     <entry><type>real</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>timestamptz_minmax_ops</literal></entry>
-     <entry><type>timestamp with time zone</type></entry>
+     <entry><literal>reltime_minmax_ops</literal></entry>
+     <entry><type>reltime</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>interval_minmax_ops</literal></entry>
-     <entry><type>interval</type></entry>
+     <entry><literal>int2_minmax_ops</literal></entry>
+     <entry><type>smallint</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>timetz_minmax_ops</literal></entry>
-     <entry><type>time with time zone</type></entry>
+     <entry><literal>text_minmax_ops</literal></entry>
+     <entry><type>text</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>bit_minmax_ops</literal></entry>
-     <entry><type>bit</type></entry>
+     <entry><literal>tid_minmax_ops</literal></entry>
+     <entry><type>tid</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>varbit_minmax_ops</literal></entry>
-     <entry><type>bit varying</type></entry>
+     <entry><literal>timestamp_minmax_ops</literal></entry>
+     <entry><type>timestamp without time zone</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>numeric_minmax_ops</literal></entry>
-     <entry><type>numeric</type></entry>
+     <entry><literal>timestamptz_minmax_ops</literal></entry>
+     <entry><type>timestamp with time zone</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>uuid_minmax_ops</literal></entry>
-     <entry><type>uuid</type></entry>
+     <entry><literal>time_minmax_ops</literal></entry>
+     <entry><type>time without time zone</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>range_inclusion_ops</></entry>
-     <entry><type>any range type</type></entry>
+     <entry><literal>timetz_minmax_ops</literal></entry>
+     <entry><type>time with time zone</type></entry>
      <entry>
-      <literal>&amp;&amp;</>
-      <literal>&amp;&gt;</>
-      <literal>&amp;&lt;</>
-      <literal>&gt;&gt;</>
-      <literal>&lt;&lt;</>
-      <literal>&lt;@</>
-      <literal>=</>
-      <literal>@&gt;</>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
       <literal>=</literal>
      </entry>
     </row>
     <row>
-     <entry><literal>pg_lsn_minmax_ops</literal></entry>
-     <entry><type>pg_lsn</type></entry>
+     <entry><literal>uuid_minmax_ops</literal></entry>
+     <entry><type>uuid</type></entry>
      <entry>
       <literal>&lt;</literal>
       <literal>&lt;=</literal>
       <literal>&gt;</literal>
      </entry>
     </row>
-    <row>
-     <entry><literal>box_inclusion_ops</></entry>
-     <entry><type>box</type></entry>
-     <entry>
-      <literal>&amp;&amp;</>
-      <literal>&amp;&gt;</>
-      <literal>&amp;&lt;</>
-      <literal>&gt;&gt;</>
-      <literal>&lt;&lt;</>
-      <literal>&lt;@</>
-      <literal>~=</>
-      <literal>@&gt;</>
-      <literal>&amp;&gt;|</>
-      <literal>|&amp;&lt;</>
-      <literal>&gt;&gt;|</>
-      <literal>|&lt;&lt;</literal>
-     </entry>
-    </row>
    </tbody>
   </tgroup>
  </table>