Andy Johnson <andy@asjohnson.com> writes:
> Is there a way to find NAMEDATALEN in a
> database, other than looking at the
> source?
select typlen from pg_type where typname = 'name';
> If not could it be added to the
> PG_CONFIG eventually?
Seems like it would only make sense to do that if we supported
configuring NAMEDATALEN, which we don't really: you have to
manually edit pg_config_manual.h, and how well the result works
is on your own head.
regards, tom lane