Re: Index Skip Scan

Поиск
Список
Период
Сортировка
От Andy Fan
Тема Re: Index Skip Scan
Дата
Msg-id CAKU4AWqqsagFb=J4bu5YfxokZvmqb_hGDZFtimfSzNLBFthUuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Index Skip Scan  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Index Skip Scan  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers

I think the UniqueKeys may need to be changed from using
EquivalenceClasses to use Exprs instead.

When I try to understand why UniqueKeys needs EquivalenceClasses, 
see your comments here.  I feel that  FuncExpr can't be
used to as a UniquePath even we can create unique index on f(a)
and f->strict == true.  The reason is even we know a is not null,
 f->strict = true.  it is still be possible that f(a) == null.  unique index
allows more than 1 null values.  so shall we move further to use varattrno
instead of Expr?  if so,  we can also use a list of Bitmapset to present multi
unique path of a single RelOptInfo. 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Proposal: PqSendBuffer removal