Skip to content

Commit 02740a4

Browse files
author
bosd
committed
[IMP] attribute_set_jsonb_index
1 parent e32c91c commit 02740a4

File tree

5 files changed

+598
-110
lines changed

5 files changed

+598
-110
lines changed

attribute_set_jsonb_index/README.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ B-tree indexes can be created for:
6161
Performance
6262
-----------
6363

64-
B-tree indexes enable PostgreSQL to use index scans for range queries:
64+
B-tree indexes enable PostgreSQL to use index scans for range queries::
6565

66-
.. code:: sql
66+
::
6767

6868
-- Without B-tree index: Sequential scan
6969
-- With B-tree index: Index scan
@@ -127,9 +127,6 @@ Contributors
127127
Other credits
128128
-------------
129129

130-
Development
131-
~~~~~~~~~~~
132-
133130
This module was developed by OBS Solutions B.V. as an extension to the
134131
OCA attribute_set_jsonb module.
135132

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
## Development
2-
31
This module was developed by OBS Solutions B.V. as an extension to the
42
OCA attribute_set_jsonb module.

attribute_set_jsonb_index/readme/DESCRIPTION.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ B-tree indexes can be created for:
1818

1919
## Performance
2020

21-
B-tree indexes enable PostgreSQL to use index scans for range queries:
22-
```sql
23-
-- Without B-tree index: Sequential scan
24-
-- With B-tree index: Index scan
25-
SELECT * FROM product_template
26-
WHERE (x_custom_json_attrs->>'x_capacity')::numeric BETWEEN 1000 AND 5000
27-
```
21+
B-tree indexes enable PostgreSQL to use index scans for range queries::
22+
23+
-- Without B-tree index: Sequential scan
24+
-- With B-tree index: Index scan
25+
SELECT * FROM product_template
26+
WHERE (x_custom_json_attrs->>'x_capacity')::numeric BETWEEN 1000 AND 5000

0 commit comments

Comments
 (0)