diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-09-02 14:46:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-09-02 14:46:44 +0000 |
commit | f3b330ec013ff8220ff056913f8056864c5d3e88 (patch) | |
tree | c1875c6160d405e5afa8754a2dca0320903a6f88 | |
parent | 9513918c6c4d4f370ceb7c7d1b1a5a152aea091c (diff) | |
download | postgresql-f3b330ec013ff8220ff056913f8056864c5d3e88.tar.gz postgresql-f3b330ec013ff8220ff056913f8056864c5d3e88.zip |
Clean up some bad grammar and punctuation in description of ecpg's decimal
type. Per KOIZUMI Satoru.
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 8dedb1514f4..bb37a002907 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.104 2010/08/17 04:37:20 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.105 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 maximal precision of 30 significant digits. In contrast to the numeric + a maximum 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 |