Re: create subscription with (origin = none, copy_data = on)

Sergey Tatarintsev <s.tatarintsev@postgrespro.ru>

From: Sergey Tatarintsev <s.tatarintsev@postgrespro.ru>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Shlok Kyal <shlok.kyal.oss@gmail.com>, "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>, vignesh C <vignesh21@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-29T06:26:08Z
Lists: pgsql-hackers
23.01.2025 09:46, Amit Kapila пишет:
> On Wed, Jan 22, 2025 at 9:44 PM Sergey Tatarintsev
> <s.tatarintsev@postgrespro.ru> wrote:
>> 22.01.2025 18:41, Shlok Kyal пишет:
>>
>> Also we still don't care about foreign partitions  (as I wrote earlier
>> we should raise an ERROR for such publications).
>>
> I think dealing with this separately from the origin vs. partitioned
> table issue is better.
>
ok! let it be so
I made a patch for such cases. You can see it here:

https://www.postgresql.org/message-id/c78766fa-4eff-4805-ad9c-868f02954ad4%40postgrespro.ru




Commits

  1. Fix a WARNING for data origin discrepancies.