Re: Name limit to 31 chars

Поиск
Список
Период
Сортировка
От Einar Karttunen
Тема Re: Name limit to 31 chars
Дата
Msg-id 20020201123751.GB15160@shellak.helsinki.fi
обсуждение исходный текст
Ответ на Name limit to 31 chars  (Oscar Pérez <javalotodo@iespana.es>)
Список pgsql-general
On 01.02.02 12:54 +0100(+0000), Oscar Pérez wrote:
> Does anybody knows why table and field names are limited to 31 characters?
> Is there any way of changing this?

They are defined with the datatype name which is 32 bytes long.
There is a todo item that will increase the length:

From http://developer.postgresql.org/todo.php
>Increase identifier length (NAMEDATALEN) if small performance hit,
>perhaps to standard length of 128;  change struct pgNotify to use pid
> first, breaks notify API;


- Einar Karttunen


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

Предыдущее
От: Fritz Lehmann-Grube
Дата:
Сообщение: ORDER BY in \dt+ ?
Следующее
От: Picrate
Дата:
Сообщение: trigger-procedure without plpgsql