On 3/12/22 05:30, Amit Kapila wrote:
>> ...
>
> Okay, please find attached. I have done basic testing of this, if we
> agree with this approach then this will require some more testing.
>
Thanks, the proposed changes seem like a clear improvement, so I've
added them, with some minor tweaks (mostly to comments).
I've also included the memory context rename (entry_changes to the
change proposed by Wang Wei, using a single SQL command in tablesync.
And I've renamed the per-entry memory context to entry_cxt, and used it
for the column list.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company