| От | Tom Lane |
|---|---|
| Тема | Re: configure datatype name > 31? |
| Дата | |
| Msg-id | 15198.1020454607@sss.pgh.pa.us обсуждение |
| Ответ на | configure datatype name > 31? ("Mark McEahern" <marklists@mceahern.com>) |
| Список | pgsql-admin |
"Mark McEahern" <marklists@mceahern.com> writes:
> Is there a way to configure PostgreSQL to make the name field larger?
Edit src/include/postgres_ext.h to change NAMEDATALEN (keep it a
multiple of 4). Build, install, initdb.
In current releases there are client-side dependencies on NAMEDATALEN,
so you should take care to recompile *everything*. We are working to
remove all dependencies on NAMEDATALEN in the standard clients and
client libraries for 7.3, though.
According to recent tests there's a measurable performance hit for
large values of NAMEDATALEN, so I wouldn't recommend making it bigger
than about 100 ...
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера