Re: Partial Indices vs. mixing columns and functions

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Partial Indices vs. mixing columns and functions
Дата
Msg-id 20010711183207.A2838@svana.org
обсуждение исходный текст
Ответ на Partial Indices vs. mixing columns and functions  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-general
On Wed, Jul 11, 2001 at 04:09:51AM -0400, Mike Mascari wrote:
> Hello,
>
> I have created table/view pairs like:

[snip]

Yes, creating a unique partial index should be possible and will do what you
want I think, (I couldn't totally follow what you meant).

However, partial indicies will not support the IS NULL predicates, for the
same reason that IS NULL cannot use an index for lookups.

I'd love to fix that but that's going to be hard (or rather, I havn't
thought of an easy way to do it :).

Maybe someone has a better solution.

--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> It would be nice if someone came up with a certification system that
> actually separated those who can barely regurgitate what they crammed over
> the last few weeks from those who command secret ninja networking powers.

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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Partial Indices vs. mixing columns and functions
Следующее
От: Mike Mascari
Дата:
Сообщение: Re: Partial Indices vs. mixing columns and functions