creating index names automatically? - Mailing list pgsql-hackers

Could we create an option to create index names automatically, so you'd
only have to write

CREATE INDEX ON foo (a);

which would pick a name like foo_a_idx.  We already do this in a number
of places such as constraint names and sequences without much trouble.
In most cases you don't really need to give an index a smart name since
the purpose is obvious.

Comments?



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: LATERAL
Next
From: Brendan Jurd
Date:
Subject: Re: creating index names automatically?