Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Minor bug: inconsistent handling of overlength names

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Minor bug: inconsistent handling of overlength names
Date: 1998-08-29 02:55:53
Message-ID: 199808290255.WAA27686@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I believe Tom Lane has fixed this.
> >> On Sun, 26 Jul 1998, Tom Lane wrote:
> >>>> DROP INDEX fails on overlength table names:
> 
> No, I have *not* fixed it, I only complained about it ;-).
> 
> I like your idea of truncating names to 31 characters in the parser;
> this should solve the problem globally.  (Most likely, if DROP INDEX
> has a bug then the same bug may exist elsewhere as well.)
> 
> Is the limit 31 not 32?

Done.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-08-29 03:44:04
Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous:From: Bruce MomjianDate: 1998-08-29 02:55:29
Subject: Re: AW: [HACKERS] sequence creation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group