Re: Allowing for longer table names (>64 characters)

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Allowing for longer table names (>64 characters)
Дата
Msg-id 20091120092118.GA20234@a-kretschmer.de
обсуждение исходный текст
Ответ на Allowing for longer table names (>64 characters)  (Allan Kamau <kamauallan@gmail.com>)
Ответы Re: Allowing for longer table names (>64 characters)  (Allan Kamau <kamauallan@gmail.com>)
Список pgsql-general
In response to Allan Kamau :
> Hi all,
> I would like to increase the database objects names limit from 64
> characters to may be 128 characters to avoid name conflicts after
> truncation of long table/sequence names.
> I have seen a solution to this sometime back which includes (building
> from source) modifying a header file then recompiling, but I now
> cannot find this information.

In the source-tree, src/include/pg_config_manual.h , change NAMEDATALEN.
But i think it's a bad idea ... 64 characters are enough for me.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

В списке pgsql-general по дате отправления:

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Allowing for longer table names (>64 characters)
Следующее
От: Allan Kamau
Дата:
Сообщение: Re: Allowing for longer table names (>64 characters)