Andreas Wernitznig <andreas(at)insilico(dot)com> writes:
> Why don't you skip the automatic index creation for primary keys
And how then would we enforce uniqueness of the primary key?
> and let the user decide to create an index, that should be used in any
> case, regardless what the query planner recommends ?
What? AFAIR the planner does not even *know* whether an index is
associated with a primary key. It certainly does not give such an
index any special preference.
regards, tom lane