doc: Remove one example related to pg_input_error_info()

This slightly bloated the contents of the function table for this entry,
without really bringing extra value.

Per discussion with Jian He and David G. Johnston.

Discussion: https://postgr.es/m/CACJufxGdyoBJQMSxwdxNK=k8M5WUth5FDFd4Wq_K4f7+1J2xuQ@mail.gmail.com
This commit is contained in:
Michael Paquier 2024-04-30 19:24:12 +09:00
parent 449cdcd486
commit f6ab942f5d
1 changed files with 1 additions and 10 deletions

View File

@ -26879,21 +26879,12 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
directly.
</para>
<para>
<literal>select * from pg_input_error_info('42000000000', 'integer')</literal>
<literal>SELECT * FROM pg_input_error_info('42000000000', 'integer')</literal>
<returnvalue></returnvalue>
<programlisting>
message | detail | hint | sql_error_code
------------------------------------------------------+--------+------+----------------
value "42000000000" is out of range for type integer | | | 22003
</programlisting>
</para>
<para>
<literal>select message, detail from pg_input_error_info('1234.567', 'numeric(7,4)')</literal>
<returnvalue></returnvalue>
<programlisting>
message | detail
------------------------+----------------------------------&zwsp;-------------------------------------------------
numeric field overflow | A field with precision 7, scale 4 must round to an absolute value less than 10^3.
</programlisting>
</para></entry>
</row>