Re: [GENERAL] Add NAMEDATALEN to PG_CONFIG? - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Add NAMEDATALEN to PG_CONFIG?
Date
Msg-id 26599.1494891443@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] Add NAMEDATALEN to PG_CONFIG?  (Andy Johnson <andy@asjohnson.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] union all taking years - PG 9.6
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 onCentos 6.9