Re: Is there a drawback when changing NAMEDATALEN to 64?

Поиск
Список
Период
Сортировка
От Gregory Wood
Тема Re: Is there a drawback when changing NAMEDATALEN to 64?
Дата
Msg-id 007f01c19ae0$a95c8810$7889ffcc@comstock.com
обсуждение исходный текст
Ответ на Is there a drawback when changing NAMEDATALEN to 64?  (Frank Joerdens <frank@joerdens.de>)
Список pgsql-general
> BTW, there is at least a small potential for breaking applications with
> this change: NAMEDATALEN is part of the exported libpq ABI, because it
> affects the representation of PGnotify structures.  When and if we do
> change the standard setting, I'm inclined to reverse the order of the
> fields in PGnotify, so that accesses to be_pid don't depend on
> NAMEDATALEN.

Would this also not break the method used to create SERIAL sequence names? I
know that I would have to fix a method I've written to calculate the
sequence name for a SERIAL field, and I suspect a few others have as well.
I'd be more than happy to fix it for a longer name though...

Greg


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

Предыдущее
От: Sam Tregar
Дата:
Сообщение: ANN: Bricolage Content-Management and Publishing System 1.2.0
Следующее
От: will trillich
Дата:
Сообщение: Re: caching subtotals: update vs sum -- aaugh!