Re: About adding a new filed to a struct in primnodes.h

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: About adding a new filed to a struct in primnodes.h
Дата
Msg-id 20201124151135.GA11125@alvherre.pgsql
обсуждение исходный текст
Ответ на About adding a new filed to a struct in primnodes.h  (Andy Fan <zhihui.fan1213@gmail.com>)
Ответы Re: About adding a new filed to a struct in primnodes.h  (Andy Fan <zhihui.fan1213@gmail.com>)
Список pgsql-hackers
On 2020-Nov-24, Andy Fan wrote:

> then we modified the copy/read/out functions for this node.  In
> _readFuncExpr,
> we probably add something like

> [ ... ]

> Then we will get a compatible issue if we create a view with the node in
> the older version and access the view with the new binary.

When nodes are modified, you have to increment CATALOG_VERSION_NO which
makes the new code incompatible with a datadir previously created -- for
precisely this reason.



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: walsender bug: stuck during shutdown
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: bug in pageinspect's "tuple data" feature