Configuring postgresql build to handle long names

From: Fredrick Paul Eisele <phreed(at)netarx(dot)com>
To: pgsql-general(at)PostgreSQL(dot)org
Subject: Configuring postgresql build to handle long names
Date: 2002-11-07 16:55:45
Message-ID: 3DCA9B11.2070309@netarx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We have a need for long table names (and long column names).
A table name of 127 (base setting is 31) should be sufficient.

I updated
"postgresql/dist/postgresql-7.2.3/src/interfaces/odbc/psqlodbc.h" as
follows...

#define MAX_TABLE_LEN 128
#define MAX_COLUMN_LEN 128

#define NAME_FIELD_SIZE 128 /* size of name fields */

If I understand correctly that header is used for the command line
interface.

The real change is to
"/aegis/postgresql/dist/postgresql-7.2.3/src/include/postgres_ext.h".

#define NAMEDATALEN 128 /* default is 32 */

Is this correct place to make the change?
Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tourtounis Sotiris 2002-11-07 16:56:13 SPI_?????
Previous Message Bruno Wolff III 2002-11-07 16:55:33 Re: comamnds