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
336297e6
Commit
336297e6
authored
Oct 22, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another example-to-documentation difference. Maybe we can find a
better way to keep these in sync...
parent
2744abb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/src/sgml/xoper.sgml
doc/src/sgml/xoper.sgml
+4
-4
No files found.
doc/src/sgml/xoper.sgml
View file @
336297e6
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/xoper.sgml,v 1.2
7 2003/10/21 22:51:14
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/xoper.sgml,v 1.2
8 2003/10/22 03:50:27
tgl Exp $
-->
<sect1 id="xoper">
...
...
@@ -41,7 +41,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/xoper.sgml,v 1.27 2003/10/21 22:51:14 tgl E
CREATE FUNCTION complex_add(complex, complex)
RETURNS complex
AS '<replaceable>filename</replaceable>', 'complex_add'
LANGUAGE C;
LANGUAGE C
IMMUTABLE STRICT
;
CREATE OPERATOR + (
leftarg = complex,
...
...
@@ -113,7 +113,7 @@ SELECT (a + b) AS c FROM test_complex;
</para>
<para>
The left operand type of a commut
ed
operator is the same as the
The left operand type of a commut
able
operator is the same as the
right operand type of its commutator, and vice versa. So the name of
the commutator operator is all that <ProductName>PostgreSQL</ProductName>
needs to be given to look up the commutator, and that's all that needs to
...
...
@@ -132,7 +132,7 @@ SELECT (a + b) AS c FROM test_complex;
<literal>tab2.y = tab1.x</>, because the indexscan machinery expects
to see the indexed column on the left of the operator it is given.
<ProductName>PostgreSQL</ProductName> will <emphasis>not</> simply
assume that this is a valid transformation --- the
define
r of the
assume that this is a valid transformation --- the
creato
r of the
<literal>=</> operator must specify that it is valid, by marking the
operator with commutator information.
</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