Re: Possible patch for better index name choosing
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2009-12-21T21:58:34Z
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.