Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9dc12ef5
Commit
9dc12ef5
authored
Mar 28, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, missed some < and > that need to be < and > ...
parent
0fb864f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/src/sgml/xindex.sgml
doc/src/sgml/xindex.sgml
+6
-6
No files found.
doc/src/sgml/xindex.sgml
View file @
9dc12ef5
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/xindex.sgml,v 1.
9 2000/03/28 02:53:02
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/xindex.sgml,v 1.
10 2000/03/28 02:59:55
tgl Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -107,7 +107,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
...
@@ -107,7 +107,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
impose a strict ordering on keys, lesser to greater. Since
impose a strict ordering on keys, lesser to greater. Since
<productname>Postgres</productname> allows the user to define operators,
<productname>Postgres</productname> allows the user to define operators,
<productname>Postgres</productname> cannot look at the name of an operator
<productname>Postgres</productname> cannot look at the name of an operator
(eg, "
>" or "<
") and tell what kind of comparison it is. In fact,
(eg, "
>" or "<
") and tell what kind of comparison it is. In fact,
some access methods don't impose any ordering at all. For example,
some access methods don't impose any ordering at all. For example,
<acronym>R-tree</acronym>s express a rectangle-containment relationship,
<acronym>R-tree</acronym>s express a rectangle-containment relationship,
whereas a hashed data structure expresses only bitwise similarity based
whereas a hashed data structure expresses only bitwise similarity based
...
@@ -115,7 +115,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
...
@@ -115,7 +115,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
needs some consistent way of taking a qualification in your query,
needs some consistent way of taking a qualification in your query,
looking at the operator and then deciding if a usable index exists. This
looking at the operator and then deciding if a usable index exists. This
implies that <productname>Postgres</productname> needs to know, for
implies that <productname>Postgres</productname> needs to know, for
example, that the "
<=" and ">
" operators partition a
example, that the "
<=" and ">
" operators partition a
<acronym>B-tree</acronym>. <productname>Postgres</productname>
<acronym>B-tree</acronym>. <productname>Postgres</productname>
uses strategies to express these relationships between
uses strategies to express these relationships between
operators and the way they can be used to scan indices.
operators and the way they can be used to scan indices.
...
@@ -203,7 +203,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
...
@@ -203,7 +203,7 @@ SELECT oid FROM pg_am WHERE amname = 'btree';
<note>
<note>
<para>
<para>
Strictly speaking, this routine can return a negative
Strictly speaking, this routine can return a negative
number (
< 0), 0, or a non-zero positive number (>
0).
number (
< 0), 0, or a non-zero positive number (>
0).
</para>
</para>
</note>
</note>
</para>
</para>
...
@@ -427,11 +427,11 @@ CREATE OPERATOR = (
...
@@ -427,11 +427,11 @@ CREATE OPERATOR = (
FROM pg_am am, pg_opclass opcl, complex_ops_tmp c
FROM pg_am am, pg_opclass opcl, complex_ops_tmp c
WHERE amname = 'btree' AND
WHERE amname = 'btree' AND
opcname = 'complex_abs_ops' AND
opcname = 'complex_abs_ops' AND
c.oprname = '
<
';
c.oprname = '
<
';
</programlisting>
</programlisting>
Now do this for the other operators substituting for the "1" in the
Now do this for the other operators substituting for the "1" in the
third line above and the "
<
" in the last line. Note the order:
third line above and the "
<
" in the last line. Note the order:
"less than" is 1, "less than or equal" is 2, "equal" is 3, "greater
"less than" is 1, "less than or equal" is 2, "equal" is 3, "greater
than or equal" is 4, and "greater than" is 5.
than or equal" is 4, and "greater than" is 5.
</para>
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment