Commit 013f320d authored by Andres Freund's avatar Andres Freund

Mop-up for 3522d0ea, which missed some alternative output files.

parent e41d0a10
...@@ -710,7 +710,7 @@ BETTER: could not open file %s (I/O failure) ...@@ -710,7 +710,7 @@ BETTER: could not open file %s (I/O failure)
without the function name, reword it. without the function name, reword it.
<programlisting> <programlisting>
BAD: pg_strtoint32: error in "z": cannot parse "z" BAD: pg_strtoint32: error in "z": cannot parse "z"
BETTER: invalid input syntax for integer: "z" BETTER: invalid input syntax for type integer: "z"
</programlisting> </programlisting>
</para> </para>
......
...@@ -43,7 +43,7 @@ SELECT * FROM subtransaction_tbl; ...@@ -43,7 +43,7 @@ SELECT * FROM subtransaction_tbl;
TRUNCATE subtransaction_tbl; TRUNCATE subtransaction_tbl;
SELECT subtransaction_test('SPI'); SELECT subtransaction_test('SPI');
ERROR: spiexceptions.InvalidTextRepresentation: invalid input syntax for integer: "oops" ERROR: spiexceptions.InvalidTextRepresentation: invalid input syntax for type integer: "oops"
LINE 1: INSERT INTO subtransaction_tbl VALUES ('oops') LINE 1: INSERT INTO subtransaction_tbl VALUES ('oops')
^ ^
QUERY: INSERT INTO subtransaction_tbl VALUES ('oops') QUERY: INSERT INTO subtransaction_tbl VALUES ('oops')
......
...@@ -43,7 +43,7 @@ SELECT * FROM subtransaction_tbl; ...@@ -43,7 +43,7 @@ SELECT * FROM subtransaction_tbl;
TRUNCATE subtransaction_tbl; TRUNCATE subtransaction_tbl;
SELECT subtransaction_test('SPI'); SELECT subtransaction_test('SPI');
ERROR: spiexceptions.InvalidTextRepresentation: invalid input syntax for integer: "oops" ERROR: spiexceptions.InvalidTextRepresentation: invalid input syntax for type integer: "oops"
LINE 1: INSERT INTO subtransaction_tbl VALUES ('oops') LINE 1: INSERT INTO subtransaction_tbl VALUES ('oops')
^ ^
QUERY: INSERT INTO subtransaction_tbl VALUES ('oops') QUERY: INSERT INTO subtransaction_tbl VALUES ('oops')
......
...@@ -684,7 +684,7 @@ CREATE FUNCTION test_type_conversion_array_mixed2() RETURNS int[] AS $$ ...@@ -684,7 +684,7 @@ CREATE FUNCTION test_type_conversion_array_mixed2() RETURNS int[] AS $$
return [123, 'abc'] return [123, 'abc']
$$ LANGUAGE plpython3u; $$ LANGUAGE plpython3u;
SELECT * FROM test_type_conversion_array_mixed2(); SELECT * FROM test_type_conversion_array_mixed2();
ERROR: invalid input syntax for integer: "abc" ERROR: invalid input syntax for type integer: "abc"
CONTEXT: while creating return value CONTEXT: while creating return value
PL/Python function "test_type_conversion_array_mixed2" PL/Python function "test_type_conversion_array_mixed2"
CREATE FUNCTION test_type_conversion_mdarray_malformed() RETURNS int[] AS $$ CREATE FUNCTION test_type_conversion_mdarray_malformed() RETURNS int[] AS $$
......
...@@ -10,11 +10,11 @@ INSERT INTO INT8_TBL VALUES(+4567890123456789,'4567890123456789'); ...@@ -10,11 +10,11 @@ INSERT INTO INT8_TBL VALUES(+4567890123456789,'4567890123456789');
INSERT INTO INT8_TBL VALUES('+4567890123456789','-4567890123456789'); INSERT INTO INT8_TBL VALUES('+4567890123456789','-4567890123456789');
-- bad inputs -- bad inputs
INSERT INTO INT8_TBL(q1) VALUES (' '); INSERT INTO INT8_TBL(q1) VALUES (' ');
ERROR: invalid input syntax for integer: " " ERROR: invalid input syntax for type bigint: " "
LINE 1: INSERT INTO INT8_TBL(q1) VALUES (' '); LINE 1: INSERT INTO INT8_TBL(q1) VALUES (' ');
^ ^
INSERT INTO INT8_TBL(q1) VALUES ('xxx'); INSERT INTO INT8_TBL(q1) VALUES ('xxx');
ERROR: invalid input syntax for integer: "xxx" ERROR: invalid input syntax for type bigint: "xxx"
LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('xxx'); LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('xxx');
^ ^
INSERT INTO INT8_TBL(q1) VALUES ('3908203590239580293850293850329485'); INSERT INTO INT8_TBL(q1) VALUES ('3908203590239580293850293850329485');
...@@ -26,15 +26,15 @@ ERROR: value "-1204982019841029840928340329840934" is out of range for type big ...@@ -26,15 +26,15 @@ ERROR: value "-1204982019841029840928340329840934" is out of range for type big
LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('-1204982019841029840928340... LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('-1204982019841029840928340...
^ ^
INSERT INTO INT8_TBL(q1) VALUES ('- 123'); INSERT INTO INT8_TBL(q1) VALUES ('- 123');
ERROR: invalid input syntax for integer: "- 123" ERROR: invalid input syntax for type bigint: "- 123"
LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('- 123'); LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('- 123');
^ ^
INSERT INTO INT8_TBL(q1) VALUES (' 345 5'); INSERT INTO INT8_TBL(q1) VALUES (' 345 5');
ERROR: invalid input syntax for integer: " 345 5" ERROR: invalid input syntax for type bigint: " 345 5"
LINE 1: INSERT INTO INT8_TBL(q1) VALUES (' 345 5'); LINE 1: INSERT INTO INT8_TBL(q1) VALUES (' 345 5');
^ ^
INSERT INTO INT8_TBL(q1) VALUES (''); INSERT INTO INT8_TBL(q1) VALUES ('');
ERROR: invalid input syntax for integer: "" ERROR: invalid input syntax for type bigint: ""
LINE 1: INSERT INTO INT8_TBL(q1) VALUES (''); LINE 1: INSERT INTO INT8_TBL(q1) VALUES ('');
^ ^
SELECT * FROM INT8_TBL; SELECT * FROM INT8_TBL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment