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
6099bc03
Commit
6099bc03
authored
Sep 30, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust documentation examples to match recent error message rewordings.
A couple other minor fixes.
parent
444af9e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
doc/src/sgml/advanced.sgml
doc/src/sgml/advanced.sgml
+3
-3
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+3
-3
doc/src/sgml/indices.sgml
doc/src/sgml/indices.sgml
+6
-4
doc/src/sgml/typeconv.sgml
doc/src/sgml/typeconv.sgml
+3
-3
No files found.
doc/src/sgml/advanced.sgml
View file @
6099bc03
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.3
6 2003/09/12 22:17:18
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.3
7 2003/09/30 03:22:32
tgl Exp $
-->
<chapter id="tutorial-advanced">
...
...
@@ -123,8 +123,8 @@ INSERT INTO weather VALUES ('Berkeley', 45, 53, 0.0, '1994-11-28');
</programlisting>
<screen>
ERROR: insert or update on "weather" violates foreign key constraint "$1"
DETAIL: Key (city)=(Berkeley) is not present in "cities".
ERROR: insert or update on
table
"weather" violates foreign key constraint "$1"
DETAIL: Key (city)=(Berkeley) is not present in
table
"cities".
</screen>
</para>
...
...
doc/src/sgml/func.sgml
View file @
6099bc03
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.17
5 2003/09/20 20:12:04
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.17
6 2003/09/30 03:22:33
tgl Exp $
PostgreSQL documentation
-->
...
...
@@ -6422,7 +6422,7 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
</indexterm>
<synopsis>
<function>
coalesce
</function>(<replaceable>value</replaceable> <optional>, ...</optional>)
<function>
COALESCE
</function>(<replaceable>value</replaceable> <optional>, ...</optional>)
</synopsis>
<para>
...
...
@@ -7610,7 +7610,7 @@ SELECT min(col) FROM sometable;
Fortunately, there is a simple workaround for
<function>min()</function> and <function>max()</function>. The
query shown below is equivalent to the query above, except that it
can take advantage of a B
+-T
ree index if there is one present on
can take advantage of a B
-t
ree index if there is one present on
the column in question.
<programlisting>
SELECT col FROM sometable ORDER BY col ASC LIMIT 1;
...
...
doc/src/sgml/indices.sgml
View file @
6099bc03
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.4
4 2003/09/11 21:42:19 momjian
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.4
5 2003/09/30 03:22:33 tgl
Exp $ -->
<chapter id="indexes">
<title id="indexes-title">Indexes</title>
...
...
@@ -722,9 +722,11 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
Although indexes in <productname>PostgreSQL</> do not need
maintenance and tuning, it is still important to check
which indexes are actually used by the real-life query workload.
Examining index usage is done with the <command>EXPLAIN</> command;
its application for this purpose is illustrated in <xref
linkend="using-explain">.
Examining index usage for an individual query is done with the
<command>EXPLAIN</> command; its application for this purpose is
illustrated in <xref linkend="using-explain">.
It is also possible to gather overall statistics about index usage
in a running server, as described in <xref linkend="monitoring-stats">.
</para>
<para>
...
...
doc/src/sgml/typeconv.sgml
View file @
6099bc03
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/typeconv.sgml,v 1.3
4 2003/09/12 22:17:24
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/typeconv.sgml,v 1.3
5 2003/09/30 03:22:33
tgl Exp $
-->
<chapter Id="typeconv">
...
...
@@ -434,7 +434,7 @@ not some other type was used:
<screen>
SELECT @ '-4.5e500' AS "abs";
ERROR: "-4.5e500" is out of range for
float8
ERROR: "-4.5e500" is out of range for
type double precision
</screen>
</para>
...
...
@@ -447,7 +447,7 @@ SELECT '20' ! AS "factorial";
ERROR: operator is not unique: "unknown" !
HINT: Could not choose a best candidate operator. You may need to add explicit
typecasts.
type
casts.
</screen>
This happens because the system can't decide which of the several
possible <literal>!</> operators should be preferred. We can help
...
...
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