mgogala=# create unique index test1_uq on test1(col1,coalesce(col2,'*** EMPTY ***')); -> Bitmap Index Scan on test1_uq (cost=0.00..1.70 rows=6 width=0)
....... Index Cond: (test1.col1 = 1) How come that the index is used for search without the "coalesce" function?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных