diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2010-03-22 15:24:11 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2010-03-22 15:24:11 +0000 |
commit | 37afd3ef4e72fff7708d23b108fbf3031e65956a (patch) | |
tree | 20ff12ac58bdd3a89b54951affd753a932965677 /src/backend/commands/indexcmds.c | |
parent | 260d843d70e19e6d56bc6e2ad84d53cc5e31f377 (diff) | |
download | postgresql-37afd3ef4e72fff7708d23b108fbf3031e65956a.tar.gz postgresql-37afd3ef4e72fff7708d23b108fbf3031e65956a.zip |
Shorten suffix of automatically created indexes to "_excl" when using
exclusion constraints, in line with string length of other pre-9.0 suffixes.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r-- | src/backend/commands/indexcmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 380eca12877..4b3cf5e545c 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -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) |