Re: Index Skip Scan
От | David Fetter |
---|---|
Тема | Re: Index Skip Scan |
Дата | |
Msg-id | 20190704004118.GB24679@fetter.org обсуждение исходный текст |
Ответ на | Re: Index Skip Scan (David Rowley <david.rowley@2ndquadrant.com>) |
Список | pgsql-hackers |
On Thu, Jul 04, 2019 at 10:06:11AM +1200, David Rowley wrote: > On Thu, 4 Jul 2019 at 09:02, James Coleman <jtc331@gmail.com> wrote: > > I think that example is the opposite direction of what David (Rowley) > > is saying. Unique on {a, b} implies unique on {a, b, c} while you're > > correct that the inverse doesn't hold. > > > > Unique on {a, b} also implies unique on {b, a} as well as on {b, a, c} > > and {c, a, b} and {c, b, a} and {a, c, b}, which is what makes this > > different from pathkeys. > > Yeah, exactly. A superset of the unique columns is still unique. Thanks for clarifying! Best, David. -- David Fetter <david(at)fetter(dot)org> http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: