Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f3b330e

Browse files
committed
Clean up some bad grammar and punctuation in description of ecpg's decimal
type. Per KOIZUMI Satoru.
1 parent 9513918 commit f3b330e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.104 2010/08/17 04:37:20 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.105 2010/09/02 14:46:44 tgl Exp $ -->
22

33
<chapter id="ecpg">
44
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -778,9 +778,9 @@ free(out);
778778
<xref linkend="datatype-numeric"> for the equivalent type in the
779779
<productname>PostgreSQL</> server. Because of the arbitrary precision this
780780
variable needs to be able to expand and shrink dynamically. That's why you
781-
can only create variables on the heap by means of the
781+
can only create numeric variables on the heap, by means of the
782782
<function>PGTYPESnumeric_new</> and <function>PGTYPESnumeric_free</>
783-
functions. The decimal type, which is similar but limited in the precision,
783+
functions. The decimal type, which is similar but limited in precision,
784784
can be created on the stack as well as on the heap.
785785
</para>
786786
<para>
@@ -2192,12 +2192,14 @@ int PGTYPESinterval_copy(interval *intvlsrc, interval *intvldest);
21922192
<title>The decimal type</title>
21932193
<para>
21942194
The decimal type is similar to the numeric type. However it is limited to
2195-
a maximal precision of 30 significant digits. In contrast to the numeric
2195+
a maximum precision of 30 significant digits. In contrast to the numeric
21962196
type which can be created on the heap only, the decimal type can be
21972197
created either on the stack or on the heap (by means of the functions
2198-
<function>PGTYPESdecimal_new()</> and <function>PGTYPESdecimal_free()</>. There are a lot of other
2199-
functions that deal with the decimal type in the <productname>Informix</productname> compatibility
2200-
mode described in <xref linkend="ecpg-informix-compat">.
2198+
<function>PGTYPESdecimal_new</> and
2199+
<function>PGTYPESdecimal_free</>).
2200+
There are a lot of other functions that deal with the decimal type in the
2201+
<productname>Informix</productname> compatibility mode described in <xref
2202+
linkend="ecpg-informix-compat">.
22012203
</para>
22022204
<para>
22032205
The following functions can be used to work with the decimal type and are

0 commit comments

Comments
 (0)