Doc: fix minor typos in two ECPG function descriptions.
authorTom Lane <[email protected]>
Sun, 25 Feb 2024 20:29:09 +0000 (15:29 -0500)
committerTom Lane <[email protected]>
Sun, 25 Feb 2024 20:29:09 +0000 (15:29 -0500)
Noted by Aidar Imamov.

Discussion: https://postgr.es/m/170869935022.643.3709087848818148291@wrigleys.postgresql.org

doc/src/sgml/ecpg.sgml

index dd576c275e8f42efbbd61f67c12e9094a63cea5a..ab58729e6ec295c73ea507c6033e06c9e742297f 100644 (file)
@@ -8884,7 +8884,7 @@ int dectodbl(decimal *np, double *dblp);
       <term><function>dectoint</function></term>
       <listitem>
        <para>
-        Convert a variable to type decimal to an integer.
+        Convert a variable of type decimal to an integer.
 <synopsis>
 int dectoint(decimal *np, int *ip);
 </synopsis>
@@ -8910,7 +8910,7 @@ int dectoint(decimal *np, int *ip);
       <term><function>dectolong</function></term>
       <listitem>
        <para>
-        Convert a variable to type decimal to a long integer.
+        Convert a variable of type decimal to a long integer.
 <synopsis>
 int dectolong(decimal *np, long *lngp);
 </synopsis>