Re: Possible patch for better index name choosing

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possible patch for better index name choosing
Date: 2009-12-21 21:58:34
Message-ID: 1261432714.9031.4.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On mån, 2009-12-21 at 00:03 -0500, Tom Lane wrote:
> Well, we could tamp down the risks considerably if we undid my point
> (1), namely to still consider only the first index column when
> generating a name.

I think putting all the column names into the index names instead of
only the first is a significant improvement that should be kept. If we
can't do it properly in some cases, we should punt in some obvious way,
not pretend to do the correct thing but actually omit some bits.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tim Bunce 2009-12-21 22:13:43 Re: Segfault from PL/Perl Returning vstring
Previous Message Tim Bunce 2009-12-21 21:55:44 First feature patch for plperl - second draft [PATCH]