Re: [BUGS] Bug #581: Sequence cannot be deleted

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Bug #581: Sequence cannot be deleted
Дата
Msg-id 25046.1013552221@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Bug #581: Sequence cannot be deleted  (Ian Barwick <barwick@gmx.net>)
Список pgsql-hackers
Ian Barwick <barwick@gmx.net> writes:
> Is there any reason for the default value (31 characters?),

It's historical AFAIK.

> or are there
> any performance issues associated with longer values?

Larger values would definitely waste space in the system tables (since
type name is fixed-width).  Bigger system tables = more I/O = some
amount of slowdown.  I have not heard that anyone has tried to measure
the cost.  It might be negligible; we just don't know.

I believe we'd be happy to change the number as soon as someone does the
legwork to quantify what it's going to cost.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add free-behind capability for large sequential scans
Следующее
От: "Tom Innes"
Дата:
Сообщение: Re: [BUGS] Bug #581: Sequence cannot be deleted