Re: [SQL] Column name's length

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: "Pham, Thinh" <tpham(at)mail(dot)priority(dot)net>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Column name's length
Date: 1999-06-01 14:42:02
Message-ID: 199906011442.KAA25262@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Is there any reason you made OIDNAMELEN 260 instead of 256? Also, should i
> wait until 6.5 came out before trying to fix this thing? Since it looks like
> it's not going to be fixed in 6.5 either. I don't want to dump/reload this
> thing too many times since it stores a lot of other more critical data
> besides this timeclock thing. I saw the postgres website mentioned that 6.5
> is coming out in around one week, is that true?
> Thinh

It has to be 260 if NAMEDATALEN is 256:

/* OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid) */
#define OIDNAMELEN 36

6.5 is scheduled for June 7.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message ZHENG, PHILLIP 1999-06-01 14:50:57 Outer Join Two Tables
Previous Message Bob Kruger 1999-06-01 14:33:06 Data recovery