mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Improve some messages
This commit is contained in:
@ -3173,7 +3173,7 @@ select '[]'::jsonb - 'a';
|
||||
select '"a"'::jsonb - 1; -- error
|
||||
ERROR: cannot delete from scalar
|
||||
select '{}'::jsonb - 1; -- error
|
||||
ERROR: cannot delete from object using integer subscript
|
||||
ERROR: cannot delete from object using integer index
|
||||
select '[]'::jsonb - 1;
|
||||
?column?
|
||||
----------
|
||||
|
@ -39,7 +39,7 @@ CREATE TRANSFORM FOR int LANGUAGE SQL (
|
||||
SELECT pg_get_object_address('stone', '{}', '{}');
|
||||
ERROR: unrecognized object type "stone"
|
||||
SELECT pg_get_object_address('table', '{}', '{}');
|
||||
ERROR: name list must be of length at least 1
|
||||
ERROR: name list length must be at least 1
|
||||
SELECT pg_get_object_address('table', '{NULL}', '{}');
|
||||
ERROR: name or argument lists may not contain nulls
|
||||
-- unrecognized object types
|
||||
|
Reference in New Issue
Block a user