Content-Length: 273829 | pFad | http://github.com/postgrespro/postgres_cluster/commit/37afd3ef4e72fff7708d23b108fbf3031e65956a

A9 Shorten suffix of automatically created indexes to "_excl" when using · postgrespro/postgres_cluster@37afd3e · GitHub
Skip to content

Commit 37afd3e

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 parent 260d843 commit 37afd3e

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
else if (isconstraint)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/37afd3ef4e72fff7708d23b108fbf3031e65956a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy