From f6ab942f5de003f37b88580154ebb614655d7e11 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 30 Apr 2024 19:24:12 +0900 Subject: [PATCH] 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 --- doc/src/sgml/func.sgml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 1928de5762..36b2c5427a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -26879,21 +26879,12 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); directly. - select * from pg_input_error_info('42000000000', 'integer') + SELECT * FROM pg_input_error_info('42000000000', 'integer') message | detail | hint | sql_error_code ------------------------------------------------------+--------+------+---------------- value "42000000000" is out of range for type integer | | | 22003 - - - - select message, detail from pg_input_error_info('1234.567', 'numeric(7,4)') - - - message | detail -------------------------+----------------------------------&zwsp;------------------------------------------------- - numeric field overflow | A field with precision 7, scale 4 must round to an absolute value less than 10^3.