Re: row filtering for logical replication

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: row filtering for logical replication
Дата
Msg-id 20220201013535.54tzdnsizi3g3wik@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: row filtering for logical replication  (Greg Nancarrow <gregn4422@gmail.com>)
Список pgsql-hackers
On 2022-01-31 14:12:38 +1100, Greg Nancarrow wrote:
> This array was only ever meant to be read-only, and visible only to
> that function.
> IMO removing "static" makes things worse because now that array gets
> initialized each call to the function, which is unnecessary.
> I think it should just be: "static const int map_changetype_pubaction[] = ..."

Yes, static const is good. static alone, not so much.



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

Предыдущее
От: Yugo NAGATA
Дата:
Сообщение: Research and Interview on scale-out solutions in Japan
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: archive modules