mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Shorten suffix of automatically created indexes to "_excl" when using
exclusion constraints, in line with string length of other pre-9.0 suffixes.
This commit is contained in:
parent
260d843d70
commit
37afd3ef4e
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.194 2010/02/26 02:00:39 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.195 2010/03/22 15:24:11 sriggs Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1391,7 +1391,7 @@ ChooseIndexName(const char *tabname, Oid namespaceId,
|
||||
{
|
||||
indexname = ChooseRelationName(tabname,
|
||||
ChooseIndexNameAddition(colnames),
|
||||
"exclusion",
|
||||
"excl",
|
||||
namespaceId);
|
||||
}
|
||||
else if (isconstraint)
|
||||
|
Loading…
Reference in New Issue
Block a user