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:34 +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 46187a563be46f9c5ff1fd64a3eba2debeaa07c4..04c91508188862baafa7740a72c616d8da2b4132 100644 (file)
@@ -8847,7 +8847,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>
@@ -8873,7 +8873,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>