pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedThe multi-column index create fail
2+ messages / 2 participants
[nested] [flat]
* The multi-column index create fail
@ 2017-11-06 03:47 2512498635@qq.com
2017-11-06 09:07 ` Re: The multi-column index create fail Pantelis Theodosiou <ypercube@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: 2512498635@qq.com @ 2017-11-06 03:47 UTC (permalink / raw)
To: pgsql-docs
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/10/static/gin-tips.html
Description:
I fail to create multi-column index use following statements:
create table t_gin3 (id int, c1 int, c2 int, c3 int, c4 int, c5 int, c6 int,
c7 int, c8 int, c9 int);
create index idx_t_gin3_1 on t_gin3 using GIN
(c1,c2,c3,c4,c5,c6,c7,c8,c9);
but the document says gin supports multi-columns
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: The multi-column index create fail
2017-11-06 03:47 The multi-column index create fail 2512498635@qq.com
@ 2017-11-06 09:07 ` Pantelis Theodosiou <ypercube@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Pantelis Theodosiou @ 2017-11-06 09:07 UTC (permalink / raw)
To: 2512498635@qq.com; +Cc: pgsql-docs
You need to install the btree_gin extension, with CREATE EXTENSION, in each
database that you want such indexes.
See: https://www.postgresql.org/docs/current/static/btree-gin.html
and
https://www.postgresql.org/docs/current/static/sql-createextension.html
On Mon, Nov 6, 2017 at 3:47 AM, <2512498635@qq.com> wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/static/gin-tips.html
> Description:
>
> I fail to create multi-column index use following statements:
> create table t_gin3 (id int, c1 int, c2 int, c3 int, c4 int, c5 int, c6
> int,
> c7 int, c8 int, c9 int);
> create index idx_t_gin3_1 on t_gin3 using GIN
> (c1,c2,c3,c4,c5,c6,c7,c8,c9);
>
> but the document says gin supports multi-columns
>
> --
> Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-11-06 09:07 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 03:47 The multi-column index create fail 2512498635@qq.com
2017-11-06 09:07 ` Pantelis Theodosiou <ypercube@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox