From ec3747f77e2be3bffcc0ad8ffa65af7c5ec31e90 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 2 Sep 2010 14:46:51 +0000 Subject: [PATCH] Clean up some bad grammar and punctuation in description of ecpg's decimal type. Per KOIZUMI Satoru. --- doc/src/sgml/ecpg.sgml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index e70a941838..121ed7e72f 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1,4 +1,4 @@ - + <application>ECPG</application> - Embedded <acronym>SQL</acronym> in C @@ -778,9 +778,9 @@ free(out); for the equivalent type in the 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 PGTYPESnumeric_new and 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. @@ -2192,12 +2192,14 @@ int PGTYPESinterval_copy(interval *intvlsrc, interval *intvldest); The decimal type 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 - PGTYPESdecimal_new() and PGTYPESdecimal_free(). There are a lot of other - functions that deal with the decimal type in the Informix compatibility - mode described in . + PGTYPESdecimal_new and + PGTYPESdecimal_free). + There are a lot of other functions that deal with the decimal type in the + Informix compatibility mode described in . The following functions can be used to work with the decimal type and are -- 2.40.0