On Fri, Mar 12, 2021 at 08:12:53PM +0800, Walker wrote: > To get rid of --enable-cassert while configuring, debug_assertions is shown > as off. In this case, ASSERT statement also can't be used, right?
No, those are two different things. plpgsql ASSERT are only controlled by plpgsql.check_asserts configuration option, whether the server were compiled with or without --enable-cassert.