| От | Kevin Grittner |
|---|---|
| Тема | Re: Creating partial index on a relation |
| Дата | |
| Msg-id | 1383223321.55824.YahooMailNeo@web162902.mail.bf1.yahoo.com обсуждение |
| Ответ на | Creating partial index on a relation ("naman.iitb" <naman.bbps@gmail.com>) |
| Список | pgsql-hackers |
naman.iitb <naman.bbps@gmail.com> wrote: > An example of partial index that i need is if my My table1 schema > is (a int ,b int ,c int) > > index on c where a is null, b is null and c is not null Your question is not very clear, but perhaps you are looking for something like this: CREATE INDEX index1 ON table1 (c) WHERE a IS NULL AND b IS NULL AND c IS NOT NULL; This list is for discussion of adding features and fixing bugs in the the PostgreSQL product. For future posts requesting help with *using* PostgreSQL please use the pgsql-general list. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера