File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2390,9 +2390,10 @@ int PGTYPESnumeric_to_long(numeric *nv, long *lp);
2390
2390
The function converts the numeric value from the variable that
2391
2391
<literal>nv</literal> points to into the long integer variable that
2392
2392
<literal>lp</literal> points to. It returns 0 on success and -1 if an error
2393
- occurs, including overflow. On overflow, the global variable
2393
+ occurs, including overflow and underflow . On overflow, the global variable
2394
2394
<literal>errno</literal> will be set to <literal>PGTYPES_NUM_OVERFLOW</literal>
2395
- additionally.
2395
+ and on underflow <literal>errno</literal> will be set to
2396
+ <literal>PGTYPES_NUM_UNDERFLOW</literal>.
2396
2397
</para>
2397
2398
</listitem>
2398
2399
</varlistentry>
You can’t perform that action at this time.
0 commit comments