From: | Mikhail Dobrinin <mvdobrinin(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | JSONB docs patch |
Date: | 2022-01-25 22:38:05 |
Message-ID: | CABKYkG77WX0JhAb7P_YQO2x1-+Vb_=fKxbrgTNbDLo89fjpvLg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
I have come across some missing documentation that I think could benefit
the community.
Several functions like `jsonb_exists`, `jsonb_exists_any`,
`jsonb_exists_all` have existed for many PG versions but were not
documented. They are equivalent to `?`, `?|`, and `?&` operators. But some
JDBC drivers have issues with native queries containing these operators
(see
https://stackoverflow.com/questions/38370972/how-do-i-use-postgresql-jsonb-operators-containing-a-question-mark-via-jdb),
so it is useful for users of PG to know the function equivalents of these
operators.
I have attached the patch as an attachment to this email. The documentation
builds correctly without any lint errors after applying the patch locally.
This is my first time contributing, so let me know if there is anything
else I should do (add to commitfest etc).
Cheers!
Mikhail Dobrinin
Attachment | Content-Type | Size |
---|---|---|
jsonb-docs-v1.diff | application/octet-stream | 3.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jimmy Yih | 2022-01-25 22:45:42 | Concurrent deadlock scenario with DROP INDEX on partitioned index |
Previous Message | Jacob Champion | 2022-01-25 22:26:31 | Re: Support for NSS as a libpq TLS backend |