mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Message style improvements
This commit is contained in:
@@ -4822,10 +4822,10 @@ select ('[1, "2", null]'::jsonb)['1'];
|
||||
(1 row)
|
||||
|
||||
select ('[1, "2", null]'::jsonb)[1.0];
|
||||
ERROR: subscript type is not supported
|
||||
ERROR: subscript type numeric is not supported
|
||||
LINE 1: select ('[1, "2", null]'::jsonb)[1.0];
|
||||
^
|
||||
HINT: Jsonb subscript must be coerced to either integer or text
|
||||
HINT: jsonb subscript must be coercible to either integer or text.
|
||||
select ('[1, "2", null]'::jsonb)[2];
|
||||
jsonb
|
||||
-------
|
||||
|
Reference in New Issue
Block a user