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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user