unrecognized configuration parameter "plpgsql.check_asserts"

From: Walker <failaway(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: unrecognized configuration parameter "plpgsql.check_asserts"
Date: 2021-03-12 10:53:26
Message-ID: tencent_1FD9E79794E0B837E8BE85AB8E7789CA7F07@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, hackers

Due to configure with parameter --enable-cassert, the debug_assertions is on by default, as follows:
postgres=# show debug_assertions;
debug_assertions
-------------------
on

Because of pgbench performance testing, I need to disable the assert function. Following the doc below, I tried to set plpgsql.check_asserts to off to disable assert function.
https://www.postgresql.org/docs/13/plpgsql-errors-and-messages.html

However, it prompts the following error, not sure if I missed something, any thoughts about it?
postgres=# alter system set plpgsql.check_asserts = off;
EORROR:&nbsp;unrecognized configuration parameter "plpgsql.check_asserts"

env:
PG: 13.2
OS: redhat 7.4 3.10.0-693.17.1.e17.x86_64
configure parameter: --enable-coverage --enable-tap-tests --enable-cassert --enable-debug --enable-nls --with-perl --with-python --with-tcl --with-openssl --with-ldap --with-libxml --with-libxslt --with-uuid=e2fs --with-segsize=10 --with-wal-blocksize=16 --with-llvm LLVM_CONFIG=xxx CLANG=xxx

thanks
walker

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message gkokolatos 2021-03-12 10:59:19 Re: Allow batched insert during cross-partition updates
Previous Message Justin Pryzby 2021-03-12 10:36:50 Re: [HACKERS] Custom compression methods