From: | oberpwd(at)anubis(dot)network(dot)com (Wade D(dot) Oberpriller) |
---|---|
To: | tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) |
Cc: | pgsql-general(at)postgresql(dot)org (general-help postgresql) |
Subject: | Re: Can the the max identifier lengths be adjusted? |
Date: | 2000-09-26 18:27:43 |
Message-ID: | 200009261827.NAA25425@truck.network.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I've set NAMEDATALEN to 64 and 48, and the compile executed successfully, but
when I perform an initdb, I got the following:
truck{oberpwd}385 > initdb -D /home/anubis22/oberpwd/pgsql/data
This database system will be initialized with username "oberpwd".
This user will own all the data files and must also own the server process.
Creating database system directory /home/anubis22/oberpwd/pgsql/data
Creating database system directory /home/anubis22/oberpwd/pgsql/data/base
Creating database XLOG directory /home/anubis22/oberpwd/pgsql/data/pg_xlog
Creating template database in /home/anubis22/oberpwd/pgsql/data/base/template1
Creating global relations in /home/anubis22/oberpwd/pgsql/data/base
Adding template1 database to pg_database
Segmentation Fault
initdb failed.
Removing /home/anubis22/oberpwd/pgsql/data.
Removing temp file /tmp/initdb.25367.
I re-compiled with NAMEDATALEN set back to 32 and it works fine. It seems that
there is code dependent on this length, and it can't be adjusted simply by
changing this macro.
Any ideas?
Wade Oberpriller
StorageTek
oberpwd(at)network(dot)com
>
> See NAMEDATALEN in src/include/postgres_ext.h. Note that changing this
> requires a full recompile and an initdb. I'd recommend keeping it a
> multiple of 4 to avoid wasting space due to alignment padding.
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Lang | 2000-09-26 18:31:22 | Re: web programming |
Previous Message | Lamar Owen | 2000-09-26 18:11:29 | Re: web programming |