On Mon, Jan 9, 2023 at 5:51 PM Amit Kapila <[email protected]> wrote: > > On Sun, Jan 8, 2023 at 11:32 AM [email protected] > <[email protected]> wrote: > > > > On Sunday, January 8, 2023 11:59 AM [email protected] > > <[email protected]> wrote: > > > Attach the updated patch set. > > > > Sorry, the commit message of 0001 was accidentally deleted, just attach > > the same patch set again with commit message. > > > > Pushed the first (0001) patch.
While looking at the worker.c, I realized that we have the following
code in handle_streamed_transaction():
default:
Assert(false);
return false; / silence compiler warning /
I think it's better to do elog(ERROR) instead of Assert() as it ends
up returning false in non-assertion builds, which might cause a
problem. And it's more consistent with other codes in worker.c. Please
find an attached patch.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
0001-Use-elog-to-report-unexpected-action-in-handle_strea.patch
Description: Binary data
