From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Zalman Stern <zalman(at)netcom(dot)com> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [SQL] Column name's length |
Date: | 1999-06-01 14:07:43 |
Message-ID: | 21277.928246063@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Zalman Stern <zalman(at)netcom(dot)com> writes:
> Here are the two diffs that up the "name size" from 32 characters to 256
> characters. (Once I get bit, I try to fix things real good so I don't get
> bit again :-))
> -----
> diff postgresql-6.4.2/src/include/postgres_ext.h postgres-build/src/include/postgres_ext.h
> 34c34
> < #define NAMEDATALEN 32
> ---
>> #define NAMEDATALEN 256
> 37c37
> < #define OIDNAMELEN 36
> ---
>> #define OIDNAMELEN 260
> -----
> diff postgresql-6.4.2/src/include/storage/buf_internals.h postgres-build/src/include/storage/buf_internals.h
> 87c87
> < #define PADDED_SBUFDESC_SIZE 128
> ---
>> #define PADDED_SBUFDESC_SIZE 1024
> -----
It'd probably be worthwhile to move NAMEDATALEN to config.h and make the
other two symbols be computed off NAMEDATALEN. Any objections if I
sneak that change into 6.5, or is it too close to being a "new feature"?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-06-01 14:18:55 | Re: [HACKERS] Problems w/ LO |
Previous Message | Chris Bitmead | 1999-06-01 12:37:13 | Re: [HACKERS] pg_dump |