From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik_Erkelens@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: Re: Bug #652: NAMEDATALEN limitations
Date: Tue, 30 Apr 2002 14:32:57 -0400
Message-ID: <21326.1020191577@sss.pgh.pa.us> (raw)
In-Reply-To: <20020430181519.5E5D9475985@postgresql.org>
References: <20020430181519.5E5D9475985@postgresql.org>
pgsql-bugs@postgresql.org writes:
> If NAMEDATALEN is given values of 45,61 initdb -d will fail with the error "relation pg_proc does not exist'.
Did you try to track down why?
Although it's inefficient to declare NAMEDATALEN as not a multiple of 4
(because of alignment considerations --- the space will just be wasted
as pad bytes, so you might as well use it), I don't offhand know why it
wouldn't work. I don't *think* there is any assumption that it's a
power of 2 ... but the well-tested cases are all powers of 2, so ...
> I'd appreciate a comment in e.g. postgress_ext.h telling me e.g. that it should be a power of two, even or something like that.
To do that, we'd need to know what the constraint actually is. Do you
care enough to do the research to find out?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, Erik_Erkelens@yahoo.com, pgsql-bugs@postgresql.org
Subject: Re: Bug #652: NAMEDATALEN limitations
In-Reply-To: <21326.1020191577@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox