git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 260d843)
Shorten suffix of automatically created indexes to "_excl" when using
2010年3月22日 15:24:11 +0000 (15:24 +0000)
2010年3月22日 15:24:11 +0000 (15:24 +0000)
exclusion constraints, in line with string length of other pre-9.0 suffixes.


diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 380eca12877ced397ab08ed6a2435de7b6323e5b..4b3cf5e545cf067b229bb018b5f73c5cfdb5bda5 100644 (file)
--- 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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /