Skip to content

Commit f6ab942

Browse files
committed
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
1 parent 449cdcd commit f6ab942

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

doc/src/sgml/func.sgml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26879,21 +26879,12 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
2687926879
directly.
2688026880
</para>
2688126881
<para>
26882-
<literal>select * from pg_input_error_info('42000000000', 'integer')</literal>
26882+
<literal>SELECT * FROM pg_input_error_info('42000000000', 'integer')</literal>
2688326883
<returnvalue></returnvalue>
2688426884
<programlisting>
2688526885
message | detail | hint | sql_error_code
2688626886
------------------------------------------------------+--------+------+----------------
2688726887
value "42000000000" is out of range for type integer | | | 22003
26888-
</programlisting>
26889-
</para>
26890-
<para>
26891-
<literal>select message, detail from pg_input_error_info('1234.567', 'numeric(7,4)')</literal>
26892-
<returnvalue></returnvalue>
26893-
<programlisting>
26894-
message | detail
26895-
------------------------+----------------------------------&zwsp;-------------------------------------------------
26896-
numeric field overflow | A field with precision 7, scale 4 must round to an absolute value less than 10^3.
2689726888
</programlisting>
2689826889
</para></entry>
2689926890
</row>

0 commit comments

Comments
 (0)