Re: [SQL] Column name's length - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] Column name's length
Date
Msg-id 199906011442.KAA25262@candle.pha.pa.us
Whole thread Raw
In response to RE: [SQL] Column name's length  ("Pham, Thinh" <tpham@mail.priority.net>)
List 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: Bob Kruger
Date:
Subject: Data recovery
Next
From: "Pham, Thinh"
Date:
Subject: RE: [SQL] Column name's length