| From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Cc: | galiev_mr(at)taximaxim(dot)ru |
| Subject: | INDEX with optional storage parameter value |
| Date: | 2020-06-22 13:13:52 |
| Message-ID: | 159283163235.684.4482737698910467437@wrigleys.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/sql-createindex.html
Description:
Hello!
I noticed an slight inaccuracy in the documentation for CREATE INDEX and
ALTER INDEX:
CREATE INDEX ... [ WITH ( storage_parameter = value [, ... ] ) ]
ALTER INDEX [ IF EXISTS ] name SET ( storage_parameter = value [, ... ] )
In indices, as in tables, you can omit the вoolean value for a parameter.
For example:
CREATE INDEX ON public.testtable USING GIN (c1) WITH (fastupdate);
ALTER INDEX testtable_c1_idx SET (fastupdate);
It might be more correct to use the construct from CREATE TABLE:
storage_parameter [= value] [, ... ]
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2020-06-22 14:52:37 | Re: Default setting for enable_hashagg_disk |
| Previous Message | Erik Rijkers | 2020-06-21 19:07:28 | Re: wrong output column title in example |