1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Remove 16 char limit on system table/index names. Rename system indexes.

This commit is contained in:
Bruce Momjian
1997-11-17 16:59:36 +00:00
parent 80c1e82232
commit d0471244e6
8 changed files with 46 additions and 58 deletions

View File

@ -7,7 +7,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.26 1997/09/18 20:20:04 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.27 1997/11/17 16:58:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -480,8 +480,8 @@ boot_openrel(char *relname)
HeapScanDesc sdesc;
HeapTuple tup;
if (strlen(relname) > 15)
relname[15] = '\000';
if (strlen(relname) >= NAMEDATALEN-1)
relname[NAMEDATALEN-1] = '\0';
if (Typ == (struct typmap **) NULL)
{