Re: Bug? 8.0 does not use partial index - Mailing list pgsql-hackers

From John Hansen
Subject Re: Bug? 8.0 does not use partial index
Date
Msg-id 5066E5A966339E42AA04BA10BA706AE5622F@rodrick.geeknet.com.au
Whole thread Raw
In response to Bug? 8.0 does not use partial index  (Palle Girgensohn <girgen@pingpong.net>)
Responses Re: Bug? 8.0 does not use partial index  (Palle Girgensohn <girgen@pingpong.net>)
List pgsql-hackers
> create index foo on group_data(this_group_id) where group_id is null;

Try this instead;

create index foo on group_data(this_group_id) where nullvalue(group_id);

And

Select * from group_data where this_group_id = 46 and nullvalue(group_id);

... John


pgsql-hackers by date:

Previous
From: Palle Girgensohn
Date:
Subject: Bug? 8.0 does not use partial index
Next
From: Tom Lane
Date:
Subject: Re: some linker troubles with rc5 on sun studio 9 ...