mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Improve some messages
This commit is contained in:
@ -3464,7 +3464,7 @@ jsonb_delete_idx(PG_FUNCTION_ARGS)
|
||||
if (JB_ROOT_IS_OBJECT(in))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("cannot delete from object using integer subscript")));
|
||||
errmsg("cannot delete from object using integer index")));
|
||||
|
||||
if (JB_ROOT_COUNT(in) == 0)
|
||||
PG_RETURN_JSONB(in);
|
||||
|
Reference in New Issue
Block a user