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 @@ - + <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