File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ You can check the available hypothetical indexes in your own backend:
68
68
------------+-------------------------------+-------------+------------+---------
69
69
50573 | <50573>btree_hypo_id | public | hypo | btree
70
70
71
+ If the ` CREATE INDEX ` command you want to use also needs quoting, using the
72
+ [ dollar quoting
73
+ syntax] ( https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING )
74
+ is recommended. For instance:
75
+
76
+ rjuju=# SELECT * FROM hypopg_create_index($$CREATE INDEX ON hypo (id) WHERE val = 'line 1'$$);
71
77
72
78
If you need more technical information on the hypothetical indexes, the
73
79
` hypopg() ` function will return the hypothetical indexes in a similar way as
You can’t perform that action at this time.
0 commit comments