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
f3b330ec
Commit
f3b330ec
authored
Sep 02, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up some bad grammar and punctuation in description of ecpg's decimal
type. Per KOIZUMI Satoru.
parent
9513918c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+9
-7
No files found.
doc/src/sgml/ecpg.sgml
View file @
f3b330ec
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.10
4 2010/08/17 04:37:20 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.10
5 2010/09/02 14:46:44 tgl
Exp $ -->
<chapter id="ecpg">
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
...
...
@@ -778,9 +778,9 @@ free(out);
<xref linkend="datatype-numeric"> for the equivalent type in the
<productname>PostgreSQL</> server. Because of the arbitrary precision this
variable needs to be able to expand and shrink dynamically. That's why you
can only create
variables on the heap
by means of the
can only create
numeric variables on the heap,
by means of the
<function>PGTYPESnumeric_new</> and <function>PGTYPESnumeric_free</>
functions. The decimal type, which is similar but limited in
the
precision,
functions. The decimal type, which is similar but limited in precision,
can be created on the stack as well as on the heap.
</para>
<para>
...
...
@@ -2192,12 +2192,14 @@ int PGTYPESinterval_copy(interval *intvlsrc, interval *intvldest);
<title>The decimal type</title>
<para>
The decimal type is similar to the numeric type. However it is limited to
a maxim
al
precision of 30 significant digits. In contrast to the numeric
a maxim
um
precision of 30 significant digits. In contrast to the numeric
type which can be created on the heap only, the decimal type can be
created either on the stack or on the heap (by means of the functions
<function>PGTYPESdecimal_new()</> and <function>PGTYPESdecimal_free()</>. There are a lot of other
functions that deal with the decimal type in the <productname>Informix</productname> compatibility
mode described in <xref linkend="ecpg-informix-compat">.
<function>PGTYPESdecimal_new</> and
<function>PGTYPESdecimal_free</>).
There are a lot of other functions that deal with the decimal type in the
<productname>Informix</productname> compatibility mode described in <xref
linkend="ecpg-informix-compat">.
</para>
<para>
The following functions can be used to work with the decimal type and are
...
...
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