From PostgresQL documentation:
https://www.postgresql.org/docs/current/indexes-index-only-scans.html
I should be able to do:
CREATE INDEX tab_x_y ON tab(x) INCLUDE (y);
So I tried doing:
create(index(:tab, [:x], include: [:y]))
But it seems to ignore the include
part.
Is this supported in Ecto, or am I doing something wrong?