Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37afd3e

Browse files
Shorten suffix of automatically created indexes to "_excl" when using
exclusion constraints, in line with string length of other pre-9.0 suffixes.
1 parent260d843 commit37afd3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/indexcmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.194 2010/02/26 02:00:39 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.195 2010/03/22 15:24:11 sriggs Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1391,7 +1391,7 @@ ChooseIndexName(const char *tabname, Oid namespaceId,
13911391
{
13921392
indexname=ChooseRelationName(tabname,
13931393
ChooseIndexNameAddition(colnames),
1394-
"exclusion",
1394+
"excl",
13951395
namespaceId);
13961396
}
13971397
elseif (isconstraint)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp