Re: not null partial index? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: not null partial index?
Date
Msg-id 24793.1099203038@sss.pgh.pa.us
Whole thread Raw
In response to not null partial index?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: not null partial index?
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> It seems partial indexes with not null condition do not work:

What you created wasn't a partial index, it was a functional index.
Try something likecreate index nonnullindex on accounts(bid) where bid is not null;
        regards, tom lane


pgsql-hackers by date:

Previous
From: Dennis Bjorklund
Date:
Subject: Re: Charset/collate support and function parameters
Next
From: Tatsuo Ishii
Date:
Subject: Re: Charset/collate support and function parameters