Re: GIN - Generalized Inverted iNdex. Try 3. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GIN - Generalized Inverted iNdex. Try 3.
Date
Msg-id 1486.1146239585@sss.pgh.pa.us
Whole thread Raw
In response to Re: GIN - Generalized Inverted iNdex. Try 3.  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: GIN - Generalized Inverted iNdex. Try 3.
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> Huh?  Why two?  Either you are allowed to cluster on indexes of this
>> type, or you're not.  I don't see the point of any other distinction.

> amclusterable - as you suggest: Does cluster command  something or not?

This is what we need.

> amclustered   - table on such index is always clustered, cluster command does
>                  nothing, but optimizer/planner takes clustering into
>                  consideration for query planning.

"Takes clustering into account" means nothing.  We don't need that.  Any
such consideration would be handled by the AM-specific amcostestimate
function.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: GIN - Generalized Inverted iNdex. Try 3.
Next
From: "Larry Rosenman"
Date:
Subject: Re: Logging pg_autovacuum