Thank you both for all your advice. Here comes my first implementation of INHERIT in the attached v2 patch.
On Wed, Dec 17, 2025 at 8:11 AM Euler Taveira <euler@eulerto.com> wrote:
I wondering if we use INHERIT as default. The main advantage is usability as Chao Li already mentioned. Is there any cases that having a different replica identity from parent/partitioned table makes sense?
We can leave this topic open for discussion. In my current implementation, NO INHERIT is still the default. But if we decide to switch the default, I can add a new commit that should include only 1 line code change in gram.y and a tiny doc update.
0001 - when a new partition is created, use the parent's replication identity
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.