public inbox for [email protected]
help / color / mirror / Atom feedFrom: [email protected] <[email protected]>
To: Craig Ringer <[email protected]>
Cc: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: RE: doc: Document how to run regression tests with custom server settings
Date: Thu, 1 Jul 2021 06:48:10 +0000
Message-ID: <OS0PR01MB6113FA937648B8F7A372359BFB009@OS0PR01MB6113.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CAMsr+YHfNzQFxBtHnS_L=MBsd_H-N4+Ff4WJZ7gwZenPbqOwJA@mail.gmail.com>
References: <OS0PR01MB6113030CD04D4CE25F73B985FB0A9@OS0PR01MB6113.jpnprd01.prod.outlook.com>
<CAMsr+YHfNzQFxBtHnS_L=MBsd_H-N4+Ff4WJZ7gwZenPbqOwJA@mail.gmail.com>
On Wednesday, June 30, 2021 11:15 AM, Craig Ringer [email protected]<mailto:[email protected]> wrote
>Yes, that'd make a lot of sense.
>
>PGOPTIONS is more suited for client settings.
>
>Willing to cook up a quick patch?
Thanks for replying. Here is my patch to fix the doc issue. Kindly to take at check.
Regards,
Tang
Attachments:
[application/octet-stream] 0001-minor-fix-for-regress-example.patch (1.1K, 3-0001-minor-fix-for-regress-example.patch)
download | inline diff:
From e3c3b3422d66f48e2397af247ad831f6fc6cf373 Mon Sep 17 00:00:00 2001
From: tanghy <[email protected]>
Date: Thu, 1 Jul 2021 15:40:06 +0900
Subject: [PATCH] minor fix for regress example
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index cb401a45b3..5e8fa29f9e 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -359,14 +359,14 @@ make check LANG=C ENCODING=EUC_JP
set in the <varname>PGOPTIONS</varname> environment variable (for settings
that allow this):
<screen>
-make check PGOPTIONS="-c log_checkpoints=on -c work_mem=50MB"
+make check PGOPTIONS="-c geqo=off -c work_mem=50MB"
</screen>
When running against a temporary installation, custom settings can also be
set by supplying a pre-written <filename>postgresql.conf</filename>:
<screen>
echo 'log_checkpoints = on' > test_postgresql.conf
echo 'work_mem = 50MB' >> test_postgresql.conf
-make check EXTRA_REGRESS_OPTS="--temp-config=test_postgresql.conf"
+make check EXTRA_REGRESS_OPTS="--temp-config=$(pwd)/test_postgresql.conf"
</screen>
</para>
--
2.31.1.windows.1
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: RE: doc: Document how to run regression tests with custom server settings
In-Reply-To: <OS0PR01MB6113FA937648B8F7A372359BFB009@OS0PR01MB6113.jpnprd01.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox