Re: creating index names automatically? - Mailing list pgsql-hackers

From A. Kretschmer
Subject Re: creating index names automatically?
Date
Msg-id 20091219213041.GA13295@a-kretschmer.de
Whole thread Raw
In response to creating index names automatically?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
In response to Peter Eisentraut :
> 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?

+1, as an additional option, only if no index-name specified.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: creating index names automatically?
Next
From: Robert Haas
Date:
Subject: Re: LATERAL