summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-06-11 10:06:58 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-06-11 10:06:58 -0400
commit908e234733574545866045c7d5f93d4dd50ef66d (patch)
treeb1bec464dc81986053bd435fcfbc7d85b34e9eca /doc/src
parent966c37fdb5ed9b87f3e91eace4dbbed7909f6769 (diff)
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ff00d43dae2..650051b044f 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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>