RE: doc: Document how to run regression tests with custom server settings

From: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>
To: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>, "craig(dot)ringer(at)2ndquadrant(dot)com" <craig(dot)ringer(at)2ndquadrant(dot)com>, "peter(at)eisentraut(dot)org" <peter(at)eisentraut(dot)org>
Subject: RE: doc: Document how to run regression tests with custom server settings
Date: 2021-06-21 07:43:06
Message-ID: OS0PR01MB6113030CD04D4CE25F73B985FB0A9@OS0PR01MB6113.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi

I was doing regression testing according to the PG-doc at [1].
The modification at 854434c5 seems not correct, could you please take a check at it?

>make check PGOPTIONS="-c log_checkpoints=on -c work_mem=50MB"

The above command reported an error like this:
failed: FATAL: parameter "log_checkpoints" cannot be changed now

IMHO, as a sighup GUC, log_checkpoints can't be set in PGOPTIONS, is that correct?

>make check EXTRA_REGRESS_OPTS="--temp-config=test_postgresql.conf"

pg_regress: could not open "test_postgresql.conf" to read extra config: No such file or directory

I fixed above problem using command like this:
make check EXTRA_REGRESS_OPTS="--temp-config=$(pwd)/test_postgresql.conf"

Maybe we can change doc description to tell user he/she should specify the location of " test_postgresql.conf", thoughts?

[1] https://www.postgresql.org/docs/devel/regress-run.html

Regards,
Tang

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2021-06-22 02:42:45 Re: Misleading sentence about default privileges
Previous Message Laurenz Albe 2021-06-18 06:51:00 Re: 24.1.5.1. Multixacts And Wraparound