Hi

On Saturday, March 6, 2021 10:49 AM Peter Smith <smithpb2...@gmail.com> wrote:
> Please find attached the latest patch set v50*

When I read throught the patch set, I found there is a
wierd errmsg in apply_handle_begin_prepare(), which seems a mistake.

File : v50-0003-Add-support-for-apply-at-prepare-time-to-built-i.patch

+        * The gid must not already be prepared.
+        */
+       if (LookupGXact(begin_data.gid, begin_data.end_lsn, 
begin_data.committime))
+               ereport(ERROR,
+                               (errcode(ERRCODE_DUPLICATE_OBJECT),
+                               
errmsg("transaction?identifier?\"%s\"?is?already?in?use",
+                                          begin_data.gid)));

Please fix this in a next update.


Best Regards,
        Takamichi Osumi

Reply via email to