can it be done?

create index my_idx on my_table(col1) where col1='';

ERROR:  invalid input syntax for integer: ""

Seems simple enough but I don't know what the trick is.

Reply via email to