mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-27 23:01:55 +02:00
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:
parent
449cdcd486
commit
f6ab942f5d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user