mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Rename jsonb - text[] operator to #- to avoid ambiguity.
Following recent discussion on -hackers. The underlying function is also renamed to jsonb_delete_path. The regression tests now don't need ugly type casts to avoid the ambiguity, so they are also removed. Catalog version bumped.
This commit is contained in:
@ -10316,10 +10316,10 @@ table2-mapping
|
||||
<entry><literal>'["a", "b"]'::jsonb - 1 </literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>-</literal></entry>
|
||||
<entry><literal>#-</literal></entry>
|
||||
<entry><type>text[]</type></entry>
|
||||
<entry>Delete the field or element with specified path</entry>
|
||||
<entry><literal>'["a", {"b":1}]'::jsonb - '{1,b}'::text[] </literal></entry>
|
||||
<entry><literal>'["a", {"b":1}]'::jsonb #- '{1,b}'</literal></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
Reference in New Issue
Block a user